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.0009436/0.0009436, 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.0009555/0.0009555, allocations: 171.9 kB / 24.92 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2513/0.2513, allocations: 29.42 MB / 291.2 MB, free: 2.426 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 2.265e-06/2.265e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.297e-05, allocations: 6.312 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004956/0.004989, allocations: 4.262 MB / 321.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.006818, allocations: 1.235 MB / 322.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.007014, allocations: 19.81 kB / 322.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007381/0.007752, allocations: 302.6 kB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.008213, allocations: 250.5 kB / 322.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.008615, allocations: 163.6 kB / 323.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.009067, allocations: 0.5687 MB / 323.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.009366, allocations: 260 kB / 323.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.009808, allocations: 395 kB / 324.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.01009, allocations: 219.3 kB / 324.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.01013, allocations: 28 kB / 324.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.01034, allocations: 131.7 kB / 324.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01049, allocations: 207.5 kB / 324.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.0106, allocations: 147.7 kB / 325 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.01101, allocations: 382.7 kB / 325.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.01102, allocations: 4 kB / 325.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01102, allocations: 0 / 325.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01103, allocations: 3.938 kB / 325.4 MB, free: 7.406 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0006806/0.01171, allocations: 0.5942 MB / 326 MB, free: 6.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.01175, allocations: 11.98 kB / 326 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.01217, allocations: 112.8 kB / 326.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.01252, allocations: 316.3 kB / 326.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.01254, allocations: 25.36 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.01263, allocations: 44.73 kB / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.01295, allocations: 311.7 kB / 326.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01297, allocations: 4 kB / 326.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.01299, allocations: 16 kB / 326.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.01306, allocations: 20.98 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.01322, allocations: 121.7 kB / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01431, allocations: 1.155 MB / 328.1 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.01446, allocations: 128.5 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.01451, allocations: 41.75 kB / 328.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.01452, allocations: 8 kB / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.01455, allocations: 34.56 kB / 328.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.01456, allocations: 4 kB / 328.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000751/0.01531, allocations: 399.1 kB / 328.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.01534, allocations: 81.11 kB / 328.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.01549, allocations: 262.9 kB / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.01551, allocations: 29.7 kB / 329.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01561, allocations: 228.4 kB / 329.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.01565, allocations: 75.53 kB / 329.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.01571, allocations: 57.91 kB / 329.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.0158, allocations: 350.7 kB / 329.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.01584, allocations: 35.03 kB / 329.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.01592, allocations: 129.3 kB / 329.9 MB, free: 2.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01608, allocations: 198.8 kB / 330.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.01608, allocations: 0 / 330.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003601/0.01644, allocations: 276.7 kB / 330.4 MB, free: 2.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01646, allocations: 8 kB / 330.4 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/0.01666, allocations: 128.2 kB / 330.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.01696, allocations: 120 kB / 330.7 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01709, allocations: 58.86 kB / 330.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.0185, allocations: 1.755 MB / 332.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.0186, allocations: 11.94 kB / 332.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.01861, allocations: 16 kB / 332.5 MB, free: 15.84 MB / 314.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.000109/0.01872, allocations: 128.5 kB / 332.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.01876, allocations: 15.98 kB / 332.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.01894, allocations: 147.4 kB / 332.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01894, allocations: 11.92 kB / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01895, allocations: 0 / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01895, allocations: 0 / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.01942, allocations: 453.4 kB / 333.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01942, allocations: 7.938 kB / 333.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.01956, allocations: 50.48 kB / 333.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.364e-05/0.01963, allocations: 30.5 kB / 333.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01964, allocations: 3.984 kB / 333.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.01964, allocations: 4 kB / 333.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01965, allocations: 4.062 kB / 333.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.01986, allocations: 319.1 kB / 333.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.01989, allocations: 23.81 kB / 333.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01991, allocations: 7.984 kB / 333.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.01997, allocations: 4 kB / 333.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.01999, allocations: 11.98 kB / 333.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.02, allocations: 8 kB / 333.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.02007, allocations: 104.5 kB / 333.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02007, allocations: 0 / 333.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.02032, allocations: 84 kB / 333.9 MB, free: 14.36 MB / 314.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 8.817e-05/0.02041, allocations: 88.36 kB / 334 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.02072, allocations: 281.9 kB / 334.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.02073, allocations: 8.062 kB / 334.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.02081, allocations: 61.56 kB / 334.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.02108, allocations: 81.19 kB / 334.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02222, allocations: 0.7327 MB / 335.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.02251, allocations: 136.6 kB / 335.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.02261, allocations: 34.95 kB / 335.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.02272, allocations: 103.3 kB / 335.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02273, allocations: 0 / 335.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of Templates: time 0.006112/0.02884, allocations: 4.113 MB / 339.5 MB, free: 8.746 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.9039066550321877]