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.001343/0.001343, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00192/0.00192, allocations: 166.2 kB / 24.99 MB, free: 8.793 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 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.263/0.263, allocations: 29.41 MB / 291.2 MB, free: 2.512 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.[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.684e-06/1.684e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.615e-05, allocations: 5.969 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005815/0.005841, allocations: 4.077 MB / 373.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.008458, allocations: 1.823 MB / 375.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.008634, allocations: 11.94 kB / 375.5 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.00972, allocations: 366.5 kB / 375.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008431/0.01056, allocations: 414 kB / 376.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.01095, allocations: 143.4 kB / 376.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006597/0.01161, allocations: 0.4946 MB / 376.9 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.01209, allocations: 159.5 kB / 377.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.01264, allocations: 299 kB / 377.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.01302, allocations: 235.3 kB / 377.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.01307, allocations: 24 kB / 377.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005874/0.01365, allocations: 378.7 kB / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.01384, allocations: 175.5 kB / 378.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.01399, allocations: 107.8 kB / 378.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007278/0.01472, allocations: 434.7 kB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.01472, allocations: 4 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.01472, allocations: 0 / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01473, allocations: 0 / 378.7 MB, free: 2.211 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.0008039/0.01553, allocations: 0.636 MB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.01558, allocations: 15.97 kB / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008005/0.01638, allocations: 184.5 kB / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01667, allocations: 244 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.0167, allocations: 21.03 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.01674, allocations: 24.38 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.01712, allocations: 297.6 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.01714, allocations: 192 / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.01717, allocations: 12.38 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.01721, allocations: 24.58 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.01747, allocations: 179.7 kB / 380.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.01879, allocations: 1.533 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.01905, allocations: 150.1 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.01918, allocations: 75.34 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.01921, allocations: 4 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.01925, allocations: 37.39 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.01925, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001056/0.02031, allocations: 0.5033 MB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.02035, allocations: 85.23 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.0205, allocations: 254.7 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.02052, allocations: 29.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.02063, allocations: 235.1 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.02068, allocations: 87.27 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.02075, allocations: 67.58 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.02086, allocations: 0.504 MB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.02094, allocations: 40.53 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.02107, allocations: 188.6 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.02129, allocations: 254.5 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02129, allocations: 8 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003707/0.02166, allocations: 300.7 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02168, allocations: 8 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.02169, allocations: 4.406 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.02196, allocations: 83.61 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.0221, allocations: 55.91 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.02336, allocations: 2.188 MB / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.02345, allocations: 15.98 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.02347, allocations: 16 kB / 387 MB, free: 9.352 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 9.879e-05/0.02357, allocations: 172.5 kB / 387.2 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.0236, allocations: 23.91 kB / 387.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.02398, allocations: 263 kB / 387.4 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02398, allocations: 4.188 kB / 387.4 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02398, allocations: 4 kB / 387.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02399, allocations: 3.984 kB / 387.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.02469, allocations: 0.6942 MB / 388.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.0247, allocations: 4 kB / 388.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.02477, allocations: 31.98 kB / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.02493, allocations: 55.62 kB / 388.2 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.02494, allocations: 8.062 kB / 388.2 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.02604, allocations: 2.141 MB / 390.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02604, allocations: 0 / 390.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.02645, allocations: 419.1 kB / 390.8 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.02647, allocations: 23.84 kB / 390.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.02649, allocations: 11.94 kB / 390.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.02656, allocations: 12 kB / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.02659, allocations: 23.95 kB / 390.9 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.0266, allocations: 4 kB / 390.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.495e-05/0.02668, allocations: 177.4 kB / 391 MB, free: 5.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.02668, allocations: 0 / 391 MB, free: 5.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.02698, allocations: 88 kB / 391.1 MB, free: 4.984 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 9.074e-05/0.02707, allocations: 103.1 kB / 391.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.02757, allocations: 375.8 kB / 391.6 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02757, allocations: 8.062 kB / 391.6 MB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.02779, allocations: 293.1 kB / 391.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.02805, allocations: 37.95 kB / 391.9 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.02904, allocations: 0.5449 MB / 392.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.02912, allocations: 120.2 kB / 392.6 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.02921, allocations: 45.94 kB / 392.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.02926, allocations: 28.5 kB / 392.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02926, allocations: 0 / 392.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of Templates: time 0.00473/0.03399, allocations: 3.064 MB / 395.7 MB, free: 312 kB / 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=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.222062717890367]