Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.00108, allocations: 104.8 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2484/0.2484, allocations: 44.17 MB / 336.2 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.23 kB / 408 MB, free: 27.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09751, allocations: 60.83 MB / 468.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007542/0.1051, allocations: 6.88 MB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1089, allocations: 2.187 MB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.1098, allocations: 27.88 kB / 477.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.1131, allocations: 1.416 MB / 479.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.1152, allocations: 0.7628 MB / 480.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1164, allocations: 0.5297 MB / 480.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1175, allocations: 1.152 MB / 481.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.1187, allocations: 0.9052 MB / 482.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.1192, allocations: 474.1 kB / 483.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.1197, allocations: 0.5991 MB / 483.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1199, allocations: 96 kB / 483.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.1204, allocations: 283.8 kB / 484.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1206, allocations: 254.9 kB / 484.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.121, allocations: 0.548 MB / 484.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1224, allocations: 1.433 MB / 486.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1224, allocations: 3.938 kB / 486.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1224, allocations: 0 / 486.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1225, allocations: 3.938 kB / 486.4 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003976/0.1264, allocations: 1.682 MB / 488 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1265, allocations: 12.03 kB / 488 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.1267, allocations: 181.8 kB / 488.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0095/0.1362, allocations: 1.315 MB / 489.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1376, allocations: 0.5294 MB / 490.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.1377, allocations: 90.41 kB / 490.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1379, allocations: 123.9 kB / 490.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.14, allocations: 1.141 MB / 491.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.14, allocations: 0 / 491.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.1401, allocations: 52 kB / 491.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1402, allocations: 31.94 kB / 491.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.1422, allocations: 1.364 MB / 492.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006612/0.1489, allocations: 4.684 MB / 497.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.1506, allocations: 0.9264 MB / 498.5 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.1511, allocations: 371.7 kB / 498.8 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.1513, allocations: 98.08 kB / 498.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1513, allocations: 43.56 kB / 499 MB, free: 15.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.164e-06/0.1513, allocations: 0 / 499 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.002111/0.1534, allocations: 1.191 MB / 0.4884 GB, free: 14.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1535, allocations: 60.41 kB / 0.4885 GB, free: 14.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.1544, allocations: 0.7777 MB / 0.4893 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.1544, allocations: 41.7 kB / 0.4893 GB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.1547, allocations: 462.9 kB / 0.4897 GB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.1549, allocations: 307.6 kB / 0.49 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.1552, allocations: 174.9 kB / 0.4902 GB, free: 12.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1554, allocations: 398.7 kB / 0.4906 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.156, allocations: 338.5 kB / 0.4909 GB, free: 12.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.1568, allocations: 0.5622 MB / 0.4915 GB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.1581, allocations: 0.9308 MB / 0.4924 GB, free: 10.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1581, allocations: 4 kB / 0.4924 GB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001855/0.16, allocations: 1.123 MB / 0.4935 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.16, allocations: 10.5 kB / 0.4935 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.16, allocations: 4 kB / 0.4935 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.1603, allocations: 70.02 kB / 0.4935 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.1613, allocations: 239.6 kB / 0.4938 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.1634, allocations: 2.84 MB / 0.4965 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.1643, allocations: 146.5 kB / 0.4967 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.1643, allocations: 47.98 kB / 0.4967 GB, free: 5.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004042/0.1648, allocations: 253.5 kB / 0.497 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.1649, allocations: 90.91 kB / 0.4971 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.1669, allocations: 1.091 MB / 0.4981 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1669, allocations: 15.94 kB / 0.4981 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1669, allocations: 0 / 0.4981 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1669, allocations: 7.922 kB / 0.4982 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.1707, allocations: 2.691 MB / 0.5008 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.1708, allocations: 11.94 kB / 0.5008 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.1715, allocations: 171.8 kB / 0.501 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.1717, allocations: 78.3 kB / 0.501 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.1718, allocations: 24 kB / 0.5011 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1842/0.356, allocations: 2.809 MB / 0.5038 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.3561, allocations: 9.156 kB / 0.5038 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.3584, allocations: 1.464 MB / 0.5052 GB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.3586, allocations: 195.7 kB / 0.5054 GB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.3588, allocations: 25.66 kB / 0.5054 GB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.3594, allocations: 52.91 kB / 0.5055 GB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3596, allocations: 77.66 kB / 0.5056 GB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.3597, allocations: 36.94 kB / 0.5056 GB, free: 45.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006809/0.3604, allocations: 0.5493 MB / 0.5061 GB, free: 44.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3604, allocations: 0 / 0.5061 GB, free: 44.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000891/0.3613, allocations: 289.4 kB / 0.5064 GB, free: 44.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/0.3636, allocations: 2.065 MB / 0.5084 GB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.3658, allocations: 1.1 MB / 0.5095 GB, free: 42.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.3658, allocations: 3.062 kB / 0.5095 GB, free: 42.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008865/0.3667, allocations: 0.6194 MB / 0.5101 GB, free: 42.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.3676, allocations: 124 kB / 0.5102 GB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.379, allocations: 9.052 MB / 0.5191 GB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3796, allocations: 0.9909 MB / 0.52 GB, free: 36.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007315/0.3803, allocations: 150.2 kB / 0.5202 GB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.3808, allocations: 354.4 kB / 0.5205 GB, free: 35.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3808, allocations: 3.828 kB / 0.5205 GB, free: 35.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.4143, allocations: 18.46 MB / 0.5386 GB, free: 24.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.4145, allocations: 240.7 kB / 0.5388 GB, free: 24.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.667, allocations: 4 kB / 0.5388 GB, free: 24.44 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches