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.001449/0.001449, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00159/0.00159, allocations: 161.6 kB / 24.27 MB, free: 176 kB / 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 1.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.2949/0.2949, allocations: 29.41 MB / 290.5 MB, free: 2.457 MB / 266.7 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: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",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.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.047e-05, allocations: 2.312 kB / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.007616/0.007647, allocations: 3.882 MB / 372.8 MB, free: 7.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.01075, allocations: 1.717 MB / 374.5 MB, free: 5.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.01089, allocations: 11.94 kB / 374.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.01205, allocations: 358.4 kB / 374.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009135/0.01296, allocations: 418 kB / 375.2 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.01334, allocations: 139.4 kB / 375.4 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.01404, allocations: 0.4984 MB / 375.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.01439, allocations: 163.4 kB / 376 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.0149, allocations: 287 kB / 376.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.01529, allocations: 235.3 kB / 376.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.01533, allocations: 20 kB / 376.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.01599, allocations: 382.7 kB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.01619, allocations: 167.6 kB / 377.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.01636, allocations: 107.8 kB / 377.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007666/0.01713, allocations: 0.5102 MB / 377.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01713, allocations: 0 / 377.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01713, allocations: 0 / 377.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01714, allocations: 0 / 377.7 MB, free: 2.461 MB / 346.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.0009672/0.0181, allocations: 0.5322 MB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.01814, allocations: 11.98 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.01946, allocations: 200.5 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.0199, allocations: 242.1 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.01993, allocations: 21.02 kB / 378.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.02024, allocations: 28.38 kB / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.02101, allocations: 440.6 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.02103, allocations: 4.125 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.02107, allocations: 12.38 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.02112, allocations: 28.58 kB / 379.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.02185, allocations: 422.3 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.02431, allocations: 1.442 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.02473, allocations: 193 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.02495, allocations: 121.7 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.02498, allocations: 4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.02503, allocations: 34.56 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.02503, allocations: 0 / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.002002/0.02703, allocations: 0.7231 MB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.02711, allocations: 85.17 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.02735, allocations: 211.8 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.02738, allocations: 33.7 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02753, allocations: 180.4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.02763, allocations: 83.33 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.02775, allocations: 57.98 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.02794, allocations: 330.8 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.02813, allocations: 104.5 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.02841, allocations: 205 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.02893, allocations: 346.9 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02893, allocations: 0 / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008753/0.02981, allocations: 449.6 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.02983, allocations: 4 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.02984, allocations: 4 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.03033, allocations: 101.2 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.03056, allocations: 55.89 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.03325, allocations: 1.875 MB / 386.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.03342, allocations: 15.98 kB / 386.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.03345, allocations: 8 kB / 386.2 MB, free: 9.48 MB / 362.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 0.0002194/0.03366, allocations: 177.7 kB / 386.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.03374, allocations: 31.86 kB / 386.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000828/0.03457, allocations: 384.1 kB / 386.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.03457, allocations: 7.984 kB / 386.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.03458, allocations: 0 / 386.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.03458, allocations: 0 / 386.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.03612, allocations: 0.7566 MB / 387.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.03613, allocations: 4 kB / 387.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.03629, allocations: 39.92 kB / 387.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/0.03661, allocations: 72.78 kB / 387.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.03663, allocations: 4.125 kB / 387.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.03882, allocations: 1.774 MB / 389.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.03882, allocations: 8.016 kB / 389.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.03962, allocations: 479.1 kB / 390 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.03967, allocations: 19.86 kB / 390 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.0397, allocations: 7.938 kB / 390 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.03985, allocations: 7.984 kB / 390 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.0399, allocations: 19.97 kB / 390 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.03993, allocations: 8 kB / 390 MB, free: 5.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.04008, allocations: 153.5 kB / 390.2 MB, free: 5.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04008, allocations: 0 / 390.2 MB, free: 5.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.04061, allocations: 84 kB / 390.2 MB, free: 5.285 MB / 362.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 0.0001505/0.04076, allocations: 107.1 kB / 390.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008506/0.04161, allocations: 416.8 kB / 390.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.04161, allocations: 0 / 390.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.04209, allocations: 278.4 kB / 391 MB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.04251, allocations: 46.05 kB / 391.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.04371, allocations: 0.6053 MB / 391.7 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.04395, allocations: 193.8 kB / 391.9 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.0441, allocations: 58.03 kB / 391.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.04418, allocations: 20.5 kB / 391.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04418, allocations: 0 / 391.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of Templates: time 0.008524/0.0527, allocations: 3.014 MB / 395 MB, free: 0.5078 MB / 362.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/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: 4.7960956250317395]