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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 124.2 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1791/0.1791, allocations: 38.51 MB / 342.5 MB, free: 8.055 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.73 kB / 478.6 MB, free: 33.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1025, allocations: 61.25 MB / 0.5272 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005746/0.1082, allocations: 3.99 MB / 0.5311 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.111, allocations: 1.838 MB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1112, allocations: 4 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1123, allocations: 373.2 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009438/0.1133, allocations: 406.5 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1137, allocations: 143.5 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.1143, allocations: 494.6 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.1147, allocations: 163 kB / 0.5344 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.115, allocations: 231 kB / 0.5346 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.1154, allocations: 247.2 kB / 0.5349 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1154, allocations: 20 kB / 0.5349 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008283/0.1162, allocations: 466.9 kB / 0.5353 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.1164, allocations: 159.5 kB / 0.5355 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1166, allocations: 155.2 kB / 0.5356 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.1173, allocations: 0.4944 MB / 0.5361 GB, free: 8.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1173, allocations: 0 / 0.5361 GB, free: 8.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1173, allocations: 0 / 0.5361 GB, free: 8.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1173, allocations: 0 / 0.5361 GB, free: 8.23 MB / 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.0009349/0.1183, allocations: 0.6035 MB / 0.5367 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1183, allocations: 15.89 kB / 0.5367 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.74e-05/0.1184, allocations: 66.7 kB / 0.5368 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.1196, allocations: 132.6 kB / 0.5369 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.1201, allocations: 293.2 kB / 0.5372 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1201, allocations: 28.92 kB / 0.5372 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.1202, allocations: 24.38 kB / 0.5372 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.1209, allocations: 447.7 kB / 0.5377 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1209, allocations: 0 / 0.5377 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.121, allocations: 12 kB / 0.5377 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.121, allocations: 24.55 kB / 0.5377 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.1217, allocations: 429.8 kB / 0.5381 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.1243, allocations: 1.706 MB / 0.5398 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.1248, allocations: 278.1 kB / 0.54 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.125, allocations: 121.7 kB / 0.5402 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.125, allocations: 11.98 kB / 0.5402 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.125, allocations: 34.94 kB / 0.5402 GB, free: 3.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.125, allocations: 0 / 0.5402 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001965/0.127, allocations: 0.7937 MB / 0.541 GB, free: 2.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.1271, allocations: 81.11 kB / 0.5411 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1273, allocations: 211.1 kB / 0.5413 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1273, allocations: 29.7 kB / 0.5413 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1275, allocations: 184.4 kB / 0.5415 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.1276, allocations: 91.25 kB / 0.5416 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1277, allocations: 53.94 kB / 0.5416 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1279, allocations: 334.8 kB / 0.5419 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.1281, allocations: 104.5 kB / 0.542 GB, free: 1.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.1284, allocations: 212.9 kB / 0.5422 GB, free: 1.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.1289, allocations: 342.9 kB / 0.5426 GB, free: 1.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1289, allocations: 0 / 0.5426 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008407/0.1297, allocations: 433.9 kB / 0.543 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1298, allocations: 8 kB / 0.543 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1298, allocations: 0 / 0.543 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.1302, allocations: 84.73 kB / 0.5431 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.1304, allocations: 59.97 kB / 0.5431 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.1327, allocations: 1.998 MB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1329, allocations: 15.98 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.1329, allocations: 16 kB / 0.5451 GB, free: 14.42 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.0001937/0.1331, allocations: 177.6 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.1331, allocations: 15.91 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.1339, allocations: 392 kB / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1339, allocations: 7.938 kB / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1339, allocations: 0 / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1339, allocations: 0 / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.1355, allocations: 0.9131 MB / 0.5466 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1355, allocations: 3.938 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1357, allocations: 31.98 kB / 0.5466 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.1359, allocations: 77.03 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.136, allocations: 12 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.1381, allocations: 1.912 MB / 0.5485 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1381, allocations: 0 / 0.5485 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.1388, allocations: 463.2 kB / 0.549 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1389, allocations: 93.02 kB / 0.5491 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1389, allocations: 8 kB / 0.5491 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1391, allocations: 15.98 kB / 0.5491 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1392, allocations: 19.91 kB / 0.5491 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1392, allocations: 12 kB / 0.5491 GB, free: 10 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1393, allocations: 140.6 kB / 0.5493 GB, free: 9.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1393, allocations: 0 / 0.5493 GB, free: 9.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.1398, allocations: 88 kB / 0.5493 GB, free: 9.781 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.141, allocations: 0.9997 MB / 0.5503 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.1418, allocations: 418.3 kB / 0.5507 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1418, allocations: 0 / 0.5507 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.1422, allocations: 275.4 kB / 0.551 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1426, allocations: 31.98 kB / 0.551 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.147, allocations: 3.029 MB / 0.554 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.1475, allocations: 0.8026 MB / 0.5547 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1477, allocations: 49.98 kB / 0.5548 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1478, allocations: 95.39 kB / 0.5549 GB, free: 3.828 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1478, allocations: 0 / 0.5549 GB, free: 3.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.1804, allocations: 5.798 MB / 0.5605 GB, free: 14.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.24, allocations: 23.78 kB / 0.5606 GB, free: 14.13 MB / 430.1 MB " [Timeout remaining time 650] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.138266376685351]