Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 114.2 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 216.6 kB / 23.01 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.23 MB / 330.3 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 80.3 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009323/0.1386, allocations: 6.986 MB / 0.523 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.1437, allocations: 2.206 MB / 0.5251 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.1447, allocations: 27.94 kB / 0.5251 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.1487, allocations: 1.54 MB / 0.5267 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.1511, allocations: 0.7109 MB / 0.5273 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.1528, allocations: 0.7125 MB / 0.528 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1544, allocations: 1.186 MB / 0.5292 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.1556, allocations: 0.7764 MB / 0.53 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006272/0.1562, allocations: 498.1 kB / 0.5304 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.1569, allocations: 0.6146 MB / 0.531 GB, free: 8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.157, allocations: 96 kB / 0.5311 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.1577, allocations: 283.8 kB / 0.5314 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.1579, allocations: 255 kB / 0.5316 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.1585, allocations: 0.5713 MB / 0.5322 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.1603, allocations: 1.478 MB / 0.5336 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1603, allocations: 4 kB / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1603, allocations: 0 / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.1603, allocations: 0 / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00434/0.1646, allocations: 1.667 MB / 0.5353 GB, free: 3.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1647, allocations: 8.031 kB / 0.5353 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.1649, allocations: 182.1 kB / 0.5355 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009792/0.1747, allocations: 1.428 MB / 0.5368 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1759, allocations: 0.4992 MB / 0.5373 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.176, allocations: 94.48 kB / 0.5374 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.1762, allocations: 120 kB / 0.5375 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.1785, allocations: 1.181 MB / 0.5387 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.1785, allocations: 7.953 kB / 0.5387 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2618/0.4403, allocations: 52.09 kB / 0.5388 GB, free: 27.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.4403, allocations: 29.22 kB / 0.5388 GB, free: 27.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.4432, allocations: 1.437 MB / 0.5402 GB, free: 27.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007249/0.4504, allocations: 3.883 MB / 0.544 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.4523, allocations: 0.8351 MB / 0.5448 GB, free: 25.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.4528, allocations: 340.8 kB / 0.5451 GB, free: 25.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-05/0.4529, allocations: 19.22 kB / 0.5451 GB, free: 25.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.453, allocations: 49.08 kB / 0.5452 GB, free: 25.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.676e-06/0.453, allocations: 0 / 0.5452 GB, free: 25.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002041/0.455, allocations: 1.048 MB / 0.5462 GB, free: 25.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.455, allocations: 62.75 kB / 0.5463 GB, free: 25.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4561, allocations: 0.7995 MB / 0.547 GB, free: 24.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.4562, allocations: 41.73 kB / 0.5471 GB, free: 24.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.4565, allocations: 499 kB / 0.5476 GB, free: 24.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.4568, allocations: 322.9 kB / 0.5479 GB, free: 24.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.4571, allocations: 201.3 kB / 0.5481 GB, free: 24.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4572, allocations: 406.9 kB / 0.5484 GB, free: 23.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.4579, allocations: 338.3 kB / 0.5488 GB, free: 23.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.4586, allocations: 0.6037 MB / 0.5494 GB, free: 23.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4599, allocations: 0.9793 MB / 0.5503 GB, free: 22.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4599, allocations: 6.344 kB / 0.5503 GB, free: 22.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001982/0.4618, allocations: 1.163 MB / 0.5515 GB, free: 22.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4619, allocations: 9.016 kB / 0.5515 GB, free: 22.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4619, allocations: 12.62 kB / 0.5515 GB, free: 22.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.4622, allocations: 67.84 kB / 0.5515 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/0.4632, allocations: 263.4 kB / 0.5518 GB, free: 21.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.4648, allocations: 2.628 MB / 0.5544 GB, free: 19.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.4657, allocations: 159.8 kB / 0.5545 GB, free: 19.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.4658, allocations: 46.62 kB / 0.5546 GB, free: 19.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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.0003933/0.4661, allocations: 250.1 kB / 0.5548 GB, free: 19.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4663, allocations: 96.39 kB / 0.5549 GB, free: 18.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.468, allocations: 1.108 MB / 0.556 GB, free: 18.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4681, allocations: 10.22 kB / 0.556 GB, free: 18.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4681, allocations: 3.062 kB / 0.556 GB, free: 18.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4681, allocations: 5.859 kB / 0.556 GB, free: 18.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.4714, allocations: 2.328 MB / 0.5583 GB, free: 17.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.4714, allocations: 5.406 kB / 0.5583 GB, free: 17.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/0.4721, allocations: 185.8 kB / 0.5584 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.4723, allocations: 63.48 kB / 0.5585 GB, free: 17.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.4723, allocations: 27.83 kB / 0.5585 GB, free: 17.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.4737, allocations: 2.626 MB / 0.5611 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.4737, allocations: 7.25 kB / 0.5611 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.4756, allocations: 1.488 MB / 0.5626 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.4759, allocations: 118.6 kB / 0.5627 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.476, allocations: 23.59 kB / 0.5627 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.4766, allocations: 56.94 kB / 0.5627 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4768, allocations: 90.69 kB / 0.5628 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.4768, allocations: 35.39 kB / 0.5629 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008061/0.4776, allocations: 0.5602 MB / 0.5634 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4776, allocations: 0 / 0.5634 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001079/0.4787, allocations: 299.6 kB / 0.5637 GB, free: 13.13 MB / 414.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 (94): * Single equations (assignments): 92 * 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.002567/0.4813, allocations: 2.088 MB / 0.5657 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.4832, allocations: 1.049 MB / 0.5668 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.4832, allocations: 1.531 kB / 0.5668 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009179/0.4841, allocations: 0.595 MB / 0.5673 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.4849, allocations: 120.9 kB / 0.5675 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.4966, allocations: 8.314 MB / 0.5756 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.4972, allocations: 0.9959 MB / 0.5766 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007131/0.4979, allocations: 156.3 kB / 0.5767 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.4984, allocations: 364.2 kB / 0.577 GB, free: 4.801 MB / 414.1 MB Notification: Performance of SimCode: time 2.194e-06/0.4984, allocations: 1.375 kB / 0.5771 GB, free: 4.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08628/0.5847, allocations: 20.03 MB / 0.5966 GB, free: 6.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.67, allocations: 11.94 kB / 0.5966 GB, free: 6.117 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.9047280929517]