Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001777/0.001777, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001978/0.001978, allocations: 165.3 kB / 24.28 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.3244/0.3244, allocations: 29.4 MB / 290.5 MB, free: 2.434 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.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.401e-05, allocations: 6.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.005111/0.005145, allocations: 2.168 MB / 371.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.006671, allocations: 0.5416 MB / 371.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.006708, allocations: 3.938 kB / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.006833, allocations: 11.91 kB / 371.6 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.006939, allocations: 23.84 kB / 371.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.007272, allocations: 75.69 kB / 371.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.007407, allocations: 67.7 kB / 371.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.772e-05/0.007435, allocations: 7.984 kB / 371.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.007601, allocations: 43.83 kB / 371.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.007663, allocations: 23.91 kB / 371.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.007674, allocations: 4 kB / 371.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.00794, allocations: 95.78 kB / 372 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.007987, allocations: 19.92 kB / 372 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.008012, allocations: 7.938 kB / 372 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.008256, allocations: 111.6 kB / 372.1 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.008263, allocations: 3.984 kB / 372.1 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008263, allocations: 0 / 372.1 MB, free: 8.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.008267, allocations: 4 kB / 372.1 MB, free: 8.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004942/0.008762, allocations: 429.7 kB / 372.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.008791, allocations: 8.031 kB / 372.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.00883, allocations: 8.891 kB / 372.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.009006, allocations: 124.5 kB / 372.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.009014, allocations: 384 / 372.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.00902, allocations: 384 / 372.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.009163, allocations: 87.31 kB / 372.7 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.009173, allocations: 3.938 kB / 372.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.009179, allocations: 4 kB / 372.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-06/0.009182, allocations: 0 / 372.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.009251, allocations: 45.7 kB / 372.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.009424, allocations: 124.6 kB / 372.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.009546, allocations: 72.75 kB / 373 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.009625, allocations: 49.42 kB / 373 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.009631, allocations: 0 / 373 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.009676, allocations: 41.31 kB / 373.1 MB, free: 6.938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.009677, allocations: 4 kB / 373.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003504/0.01003, allocations: 194.9 kB / 373.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.01011, allocations: 85.11 kB / 373.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01028, allocations: 181.8 kB / 373.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.01031, allocations: 33.73 kB / 373.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.01041, allocations: 134.9 kB / 373.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.01049, allocations: 43.62 kB / 373.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.01055, allocations: 27.38 kB / 373.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003452/0.0109, allocations: 0.4923 MB / 374.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.01097, allocations: 45.69 kB / 374.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.01103, allocations: 41.7 kB / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.0112, allocations: 114.4 kB / 374.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0112, allocations: 4 kB / 374.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002458/0.01145, allocations: 141 kB / 374.6 MB, free: 5.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.01152, allocations: 53.69 kB / 374.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.01152, allocations: 0 / 374.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01153, allocations: 3.938 kB / 374.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.01153, allocations: 0 / 374.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.01154, allocations: 4 kB / 374.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.01157, allocations: 3.953 kB / 374.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.01159, allocations: 4 kB / 374.7 MB, free: 5.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.0118, allocations: 202.2 kB / 374.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.01184, allocations: 15.95 kB / 374.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-06/0.01185, allocations: 4.438 kB / 374.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.01186, allocations: 11.92 kB / 374.9 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01186, allocations: 0 / 374.9 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01186, allocations: 7.922 kB / 374.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.01204, allocations: 136.5 kB / 375 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01204, allocations: 0 / 375 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.01204, allocations: 0 / 375 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01204, allocations: 0 / 375 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01205, allocations: 4 kB / 375 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01206, allocations: 4 kB / 375 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.01206, allocations: 3.938 kB / 375.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.01245, allocations: 223.8 kB / 375.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01247, allocations: 11.98 kB / 375.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01249, allocations: 7.922 kB / 375.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.01252, allocations: 4 kB / 375.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.01254, allocations: 3.938 kB / 375.3 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01255, allocations: 4 kB / 375.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.01266, allocations: 135.2 kB / 375.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01266, allocations: 4 kB / 375.4 MB, free: 4.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.013, allocations: 31.94 kB / 375.5 MB, free: 4.324 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.01325, allocations: 115.1 kB / 375.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.01361, allocations: 214.4 kB / 375.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01361, allocations: 0 / 375.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.0138, allocations: 140.8 kB / 375.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01405, allocations: 15.98 kB / 375.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.01457, allocations: 251.6 kB / 376.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01468, allocations: 83.27 kB / 376.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.392e-05/0.01469, allocations: 128 / 376.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.01471, allocations: 12.5 kB / 376.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01471, allocations: 0 / 376.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of Templates: time 0.005485/0.02019, allocations: 1.389 MB / 377.7 MB, free: 2.012 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.748645709012635]