Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.000797/0.000797, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0009394/0.0009394, allocations: 161 kB / 24.56 MB, free: 16 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 0.9635/0.9635, allocations: 177.1 MB / 205 MB, free: 5.629 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.2399/0.2399, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.741e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003893/0.00391, allocations: 4.235 MB / 373.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005541, allocations: 1.207 MB / 375.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.005691, allocations: 23.81 kB / 375.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.006321, allocations: 310.5 kB / 375.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.006706, allocations: 258.5 kB / 375.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.007057, allocations: 171.5 kB / 375.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.007482, allocations: 0.5566 MB / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.007771, allocations: 233.4 kB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.008203, allocations: 394.9 kB / 377 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.008458, allocations: 231.3 kB / 377.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.008493, allocations: 28 kB / 377.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.008677, allocations: 135.7 kB / 377.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.008827, allocations: 203.5 kB / 377.6 MB, free: 3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.008946, allocations: 143.7 kB / 377.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.009603, allocations: 386.6 kB / 378.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.009604, allocations: 0 / 378.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009605, allocations: 4 kB / 378.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.009609, allocations: 0 / 378.1 MB, free: 2.477 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0006862/0.0103, allocations: 0.731 MB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.01034, allocations: 11.98 kB / 378.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.01071, allocations: 132.6 kB / 379 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01106, allocations: 337.8 kB / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.01108, allocations: 25.38 kB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.01116, allocations: 44.67 kB / 379.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.01153, allocations: 342 kB / 379.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.01154, allocations: 4 kB / 379.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01156, allocations: 8 kB / 379.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.01163, allocations: 32.92 kB / 379.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.01189, allocations: 157.8 kB / 379.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.01342, allocations: 1.547 MB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.01362, allocations: 114.2 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.01371, allocations: 63.34 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.01372, allocations: 4 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.01375, allocations: 37.39 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.01375, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009714/0.01472, allocations: 0.573 MB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.01476, allocations: 81.11 kB / 382.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.015, allocations: 330.2 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01502, allocations: 29.7 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.01517, allocations: 310.7 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.01522, allocations: 71.47 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.0153, allocations: 63.59 kB / 383.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01544, allocations: 0.5118 MB / 383.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.01552, allocations: 40.25 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01567, allocations: 195.6 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.01592, allocations: 254.3 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01592, allocations: 3.938 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005552/0.01648, allocations: 340.8 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01649, allocations: 12.06 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003269/0.01682, allocations: 175.6 kB / 384.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.01722, allocations: 115.6 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.0176, allocations: 63.84 kB / 384.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.01939, allocations: 2.356 MB / 387.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01951, allocations: 15.98 kB / 387.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.01953, allocations: 12 kB / 387.2 MB, free: 8.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.01964, allocations: 176.4 kB / 387.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.0197, allocations: 39.75 kB / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.01996, allocations: 175.5 kB / 387.6 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01996, allocations: 0 / 387.6 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01996, allocations: 4 kB / 387.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01997, allocations: 3.984 kB / 387.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.02068, allocations: 0.5861 MB / 388.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.02068, allocations: 4 kB / 388.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.02083, allocations: 31.98 kB / 388.2 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-05/0.02089, allocations: 27.73 kB / 388.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.02091, allocations: 7.938 kB / 388.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.02091, allocations: 0 / 388.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02091, allocations: 0 / 388.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.02126, allocations: 374.9 kB / 388.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.0213, allocations: 31.75 kB / 388.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.02133, allocations: 7.984 kB / 388.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.02143, allocations: 12.06 kB / 388.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.02147, allocations: 15.91 kB / 388.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.02148, allocations: 8 kB / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.02162, allocations: 223 kB / 388.9 MB, free: 6.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02162, allocations: 0 / 388.9 MB, free: 6.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.02203, allocations: 88 kB / 389 MB, free: 6.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.196e-05/0.02212, allocations: 95.25 kB / 389.1 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.02263, allocations: 383.4 kB / 389.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02263, allocations: 0 / 389.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.02322, allocations: 85.64 kB / 389.5 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.02361, allocations: 61.52 kB / 389.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.02503, allocations: 0.7815 MB / 390.4 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.02514, allocations: 136.4 kB / 390.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.02526, allocations: 54.92 kB / 390.6 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.02531, allocations: 24.5 kB / 390.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02531, allocations: 0 / 390.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of Templates: time 0.007017/0.03233, allocations: 3.922 MB / 394.5 MB, free: 1.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.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.088806149084121]