Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001726/0.001726, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001912/0.001912, allocations: 215 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.193/0.193, allocations: 38.5 MB / 349.4 MB, free: 2.621 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 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.002053/0.002053, allocations: 73.59 kB / 487.8 MB, free: 32.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 62.42 MB / 0.5374 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006211/0.1403, allocations: 3.999 MB / 0.5413 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1432, allocations: 1.881 MB / 0.5431 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1434, allocations: 11.88 kB / 0.5431 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.1446, allocations: 374.6 kB / 0.5435 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009703/0.1455, allocations: 402.5 kB / 0.5438 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1459, allocations: 139.6 kB / 0.544 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.1466, allocations: 498.6 kB / 0.5445 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.1469, allocations: 167 kB / 0.5446 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004063/0.1473, allocations: 223.1 kB / 0.5448 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.1477, allocations: 255.1 kB / 0.5451 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1477, allocations: 20 kB / 0.5451 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.1486, allocations: 462.8 kB / 0.5455 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1487, allocations: 159.6 kB / 0.5457 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1489, allocations: 147.2 kB / 0.5458 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.1497, allocations: 0.4944 MB / 0.5463 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1497, allocations: 0 / 0.5463 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1497, allocations: 0 / 0.5463 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.1497, allocations: 0 / 0.5463 GB, free: 368 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001026/0.1507, allocations: 0.6075 MB / 0.5469 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1508, allocations: 12.03 kB / 0.5469 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.1508, allocations: 4.75 kB / 0.5469 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/0.1509, allocations: 66.72 kB / 0.547 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.1522, allocations: 132.6 kB / 0.5471 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.1527, allocations: 303.8 kB / 0.5474 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1527, allocations: 20.94 kB / 0.5474 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.1528, allocations: 24.38 kB / 0.5474 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.1535, allocations: 443.5 kB / 0.5479 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1535, allocations: 4 kB / 0.5479 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.1536, allocations: 15.94 kB / 0.5479 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.1536, allocations: 28.55 kB / 0.5479 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.1543, allocations: 425.9 kB / 0.5483 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.1569, allocations: 1.718 MB / 0.55 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.1573, allocations: 266.2 kB / 0.5502 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1575, allocations: 129.7 kB / 0.5504 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1576, allocations: 0 / 0.5504 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.509e-05/0.1577, allocations: 38.88 kB / 0.5504 GB, free: 11.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.1577, allocations: 0 / 0.5504 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.002003/0.1597, allocations: 0.7939 MB / 0.5512 GB, free: 11.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.1597, allocations: 85.23 kB / 0.5513 GB, free: 10.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.16, allocations: 210.7 kB / 0.5515 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.16, allocations: 29.7 kB / 0.5515 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1602, allocations: 192.4 kB / 0.5517 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.1602, allocations: 79.27 kB / 0.5518 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.1603, allocations: 61.97 kB / 0.5518 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1605, allocations: 330.8 kB / 0.5521 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1607, allocations: 108.5 kB / 0.5522 GB, free: 9.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1609, allocations: 209 kB / 0.5524 GB, free: 9.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.1614, allocations: 338.9 kB / 0.5528 GB, free: 9.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1614, allocations: 3.938 kB / 0.5528 GB, free: 9.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007964/0.1622, allocations: 429.8 kB / 0.5532 GB, free: 8.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1622, allocations: 4 kB / 0.5532 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1622, allocations: 4 kB / 0.5532 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.1626, allocations: 89.23 kB / 0.5533 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1629, allocations: 59.89 kB / 0.5533 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.1651, allocations: 1.998 MB / 0.5553 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1653, allocations: 15.98 kB / 0.5553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1653, allocations: 8 kB / 0.5553 GB, free: 6.539 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.1656, allocations: 190.2 kB / 0.5555 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.1656, allocations: 31.86 kB / 0.5555 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007792/0.1664, allocations: 376 kB / 0.5559 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1664, allocations: 0 / 0.5559 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1664, allocations: 4 kB / 0.5559 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1664, allocations: 3.984 kB / 0.5559 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.168, allocations: 0.9141 MB / 0.5568 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.168, allocations: 0 / 0.5568 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1682, allocations: 40.09 kB / 0.5568 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.1685, allocations: 76.86 kB / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1685, allocations: 4 kB / 0.5569 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.1706, allocations: 1.904 MB / 0.5587 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.1706, allocations: 4.031 kB / 0.5587 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.1714, allocations: 463.1 kB / 0.5592 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.1715, allocations: 101 kB / 0.5593 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1715, allocations: 7.984 kB / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1717, allocations: 8 kB / 0.5593 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.1718, allocations: 31.77 kB / 0.5593 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1718, allocations: 4 kB / 0.5593 GB, free: 2.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1719, allocations: 152.6 kB / 0.5595 GB, free: 1.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1719, allocations: 0 / 0.5595 GB, free: 1.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005332/0.1725, allocations: 80 kB / 0.5595 GB, free: 1.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.1736, allocations: 0.996 MB / 0.5605 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008693/0.1745, allocations: 414.2 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1745, allocations: 0 / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.1749, allocations: 275.4 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1753, allocations: 42.97 kB / 0.5612 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.1796, allocations: 3.025 MB / 0.5642 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.1801, allocations: 0.8062 MB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.1802, allocations: 53.94 kB / 0.565 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.1804, allocations: 87.41 kB / 0.5651 GB, free: 11.93 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1804, allocations: 0 / 0.5651 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.2075, allocations: 5.838 MB / 0.5708 GB, free: 6.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.65, allocations: 4 kB / 0.5708 GB, free: 6.238 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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: 13.939258383004926]