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.001883/0.001883, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.00199/0.00199, allocations: 161.3 kB / 24.27 MB, free: 152 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.621/1.621, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.2967/0.2967, allocations: 29.41 MB / 290.5 MB, free: 2.395 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 2.234e-06/2.234e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.394e-05/4.618e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006594/0.00664, allocations: 4.03 MB / 372.9 MB, free: 7.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.01002, allocations: 1.807 MB / 374.7 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.01019, allocations: 7.938 kB / 374.7 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.01139, allocations: 366.5 kB / 375.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009418/0.01233, allocations: 422 kB / 375.5 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.01273, allocations: 143.4 kB / 375.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.01339, allocations: 0.5023 MB / 376.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.01376, allocations: 159.4 kB / 376.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.01429, allocations: 291 kB / 376.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.01471, allocations: 231.3 kB / 376.8 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.01476, allocations: 27.94 kB / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007377/0.0155, allocations: 386.7 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004891/0.01598, allocations: 167.6 kB / 377.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.01616, allocations: 107.7 kB / 377.5 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008489/0.017, allocations: 0.5141 MB / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01701, allocations: 0 / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01701, allocations: 0 / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.01702, allocations: 0 / 378 MB, free: 2.148 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.001031/0.01805, allocations: 0.6474 MB / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.01809, allocations: 11.98 kB / 378.6 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.01932, allocations: 204.5 kB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.01979, allocations: 233 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.01984, allocations: 25.02 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.0199, allocations: 24.38 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.0205, allocations: 321.6 kB / 379.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.02051, allocations: 192 / 379.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.02055, allocations: 16.38 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/0.0206, allocations: 28.58 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.02107, allocations: 214.4 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.02363, allocations: 1.592 MB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.02398, allocations: 150 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.02414, allocations: 83.41 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.02418, allocations: 4 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.02422, allocations: 37.39 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.203e-06/0.02422, allocations: 0 / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001724/0.02595, allocations: 0.5307 MB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.02602, allocations: 85.05 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.02631, allocations: 278.7 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.02634, allocations: 29.7 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.02653, allocations: 247.2 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.02661, allocations: 83.33 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.02674, allocations: 71.59 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002991/0.02704, allocations: 0.5118 MB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.02716, allocations: 52.53 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.02742, allocations: 196.6 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.02784, allocations: 274.5 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.02784, allocations: 4 kB / 383.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007091/0.02855, allocations: 324.7 kB / 384.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.02857, allocations: 8 kB / 384.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.02858, allocations: 4 kB / 384.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.02929, allocations: 95.95 kB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.02952, allocations: 51.91 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.03201, allocations: 2.255 MB / 386.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.03218, allocations: 19.94 kB / 386.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.03222, allocations: 16 kB / 386.6 MB, free: 8.93 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.0002075/0.03243, allocations: 184.4 kB / 386.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.0325, allocations: 27.91 kB / 386.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.03321, allocations: 283 kB / 387.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.03321, allocations: 0 / 387.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.03321, allocations: 4 kB / 387.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.03322, allocations: 0 / 387.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.03473, allocations: 0.7289 MB / 387.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03473, allocations: 4 kB / 387.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.0349, allocations: 39.97 kB / 387.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/0.0352, allocations: 67.61 kB / 388 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.03522, allocations: 4 kB / 388 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.03759, allocations: 2.196 MB / 390.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.03759, allocations: 3.938 kB / 390.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.03835, allocations: 446.9 kB / 390.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.0384, allocations: 19.8 kB / 390.6 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.03844, allocations: 11.94 kB / 390.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.03861, allocations: 11.98 kB / 390.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.03866, allocations: 15.97 kB / 390.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.03869, allocations: 12 kB / 390.7 MB, free: 4.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.03887, allocations: 185.4 kB / 390.9 MB, free: 4.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03887, allocations: 0 / 390.9 MB, free: 4.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005021/0.03938, allocations: 80 kB / 390.9 MB, free: 4.402 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.0001553/0.03953, allocations: 107.2 kB / 391 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.04056, allocations: 403 kB / 391.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.04056, allocations: 0 / 391.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.04106, allocations: 302.2 kB / 391.7 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.04146, allocations: 35.02 kB / 391.8 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.04256, allocations: 0.5364 MB / 392.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.04278, allocations: 193.8 kB / 392.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.04292, allocations: 42.08 kB / 392.5 MB, free: 2.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.04299, allocations: 24.48 kB / 392.6 MB, free: 2.672 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.04299, allocations: 0 / 392.6 MB, free: 2.672 MB / 362.7 MB Notification: Performance of Templates: time 0.008422/0.05142, allocations: 3.057 MB / 395.6 MB, free: 15.64 MB / 378.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","/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.8394187410594895]