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.001007/0.001007, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001087/0.001087, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9988/0.9988, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.2835/0.2835, allocations: 29.43 MB / 291.2 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.382e-05, allocations: 2.312 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003382/0.003396, allocations: 3.865 MB / 320.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.005116, allocations: 1.441 MB / 322.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.005239, allocations: 11.94 kB / 322.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.005834, allocations: 266.8 kB / 322.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.006299, allocations: 410 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.006486, allocations: 147.4 kB / 323 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.006846, allocations: 498.8 kB / 323.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.007068, allocations: 189.6 kB / 323.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.007334, allocations: 283.1 kB / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.00755, allocations: 215.3 kB / 324.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.007574, allocations: 24 kB / 324.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.007881, allocations: 370.8 kB / 324.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.007993, allocations: 171.6 kB / 324.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.008075, allocations: 107.8 kB / 324.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.008447, allocations: 442.6 kB / 325.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.008449, allocations: 0 / 325.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.008449, allocations: 0 / 325.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.008453, allocations: 0 / 325.2 MB, free: 7.609 MB / 298.7 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.0004901/0.008943, allocations: 0.4954 MB / 325.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.008976, allocations: 15.98 kB / 325.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006047/0.009581, allocations: 180.6 kB / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.009816, allocations: 225.5 kB / 326.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.009834, allocations: 17.03 kB / 326.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.009872, allocations: 28.36 kB / 326.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.01013, allocations: 263.4 kB / 326.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01014, allocations: 4.188 kB / 326.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.01017, allocations: 16.36 kB / 326.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.0102, allocations: 28.58 kB / 326.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.01036, allocations: 139.2 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.01135, allocations: 1.124 MB / 327.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.01151, allocations: 157 kB / 327.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.01157, allocations: 57.7 kB / 327.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.0116, allocations: 15.92 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.01162, allocations: 34.55 kB / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.01163, allocations: 0 / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.000689/0.01232, allocations: 348 kB / 328.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.01235, allocations: 89.09 kB / 328.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.01246, allocations: 191.5 kB / 328.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.01266, allocations: 33.7 kB / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.01273, allocations: 176.4 kB / 328.8 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.01279, allocations: 91.23 kB / 328.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.01284, allocations: 45.97 kB / 328.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.01293, allocations: 338.7 kB / 329.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.01297, allocations: 31.38 kB / 329.3 MB, free: 3.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.01306, allocations: 129 kB / 329.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.01322, allocations: 197.2 kB / 329.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01322, allocations: 3.984 kB / 329.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002692/0.01349, allocations: 240.7 kB / 329.9 MB, free: 2.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.0135, allocations: 8 kB / 329.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01351, allocations: 0 / 329.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.01374, allocations: 77.19 kB / 329.9 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01385, allocations: 43.92 kB / 330 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009696/0.01482, allocations: 1.604 MB / 331.6 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.01488, allocations: 12 kB / 331.6 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.0149, allocations: 12 kB / 331.6 MB, free: 0.7578 MB / 298.7 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 8.115e-05/0.01498, allocations: 124.6 kB / 331.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.01501, allocations: 19.98 kB / 331.8 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.01526, allocations: 212.1 kB / 332 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01527, allocations: 4 kB / 332 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01527, allocations: 0 / 332 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01528, allocations: 7.938 kB / 332 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.01583, allocations: 0.5646 MB / 332.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01584, allocations: 4 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.0159, allocations: 35.92 kB / 332.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.01603, allocations: 48.8 kB / 332.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01604, allocations: 4 kB / 332.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008172/0.01686, allocations: 1.576 MB / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01686, allocations: 0 / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.01717, allocations: 356.5 kB / 334.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.0172, allocations: 23.84 kB / 334.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01723, allocations: 11.98 kB / 334.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.01732, allocations: 7.938 kB / 334.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.01736, allocations: 19.91 kB / 334.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01737, allocations: 8 kB / 334.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.984e-05/0.01742, allocations: 59.03 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01742, allocations: 0 / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.01783, allocations: 84 kB / 334.8 MB, free: 13.42 MB / 314.7 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 8.59e-05/0.01792, allocations: 80.42 kB / 334.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.0183, allocations: 285.1 kB / 335.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.01831, allocations: 0.8125 kB / 335.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.01853, allocations: 227.1 kB / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01879, allocations: 47.5 kB / 335.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01995, allocations: 0.5501 MB / 335.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.02004, allocations: 112.3 kB / 336.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.524e-05/0.02012, allocations: 25.94 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.02022, allocations: 79.36 kB / 336.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02022, allocations: 4 kB / 336.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of Templates: time 0.01166/0.03187, allocations: 3.205 MB / 339.4 MB, free: 8.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2220618668943644]