Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001463/0.001463, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001563/0.001563, allocations: 169.3 kB / 24.27 MB, free: 144 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.299/0.299, allocations: 29.41 MB / 290.5 MB, free: 2.441 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_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.577e-05, allocations: 6.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003823/0.003849, allocations: 2.156 MB / 371 MB, free: 9.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.004841, allocations: 0.5222 MB / 371.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.004891, allocations: 3.938 kB / 371.6 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.005078, allocations: 15.92 kB / 371.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.729e-05/0.005175, allocations: 31.77 kB / 371.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.005569, allocations: 71.75 kB / 371.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.005718, allocations: 71.69 kB / 371.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.005754, allocations: 0 / 371.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.005926, allocations: 43.83 kB / 371.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.005994, allocations: 31.89 kB / 371.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.006005, allocations: 4 kB / 371.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.006249, allocations: 99.72 kB / 371.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.006294, allocations: 4 kB / 371.9 MB, free: 8.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.00634, allocations: 11.94 kB / 371.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.006566, allocations: 107.6 kB / 372.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.006569, allocations: 0 / 372.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00657, allocations: 0 / 372.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.006574, allocations: 0 / 372.1 MB, free: 8.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004564/0.007031, allocations: 311.8 kB / 372.4 MB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.007072, allocations: 11.98 kB / 372.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.007124, allocations: 12.89 kB / 372.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.007321, allocations: 125.7 kB / 372.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.007332, allocations: 384 / 372.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.007341, allocations: 384 / 372.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.007503, allocations: 91.94 kB / 372.6 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.007514, allocations: 7.875 kB / 372.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.007522, allocations: 0 / 372.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.007526, allocations: 0 / 372.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.007614, allocations: 65.66 kB / 372.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.00777, allocations: 105.3 kB / 372.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.007883, allocations: 80.25 kB / 372.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.007962, allocations: 62.58 kB / 372.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.007974, allocations: 3.984 kB / 372.9 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.008012, allocations: 38.56 kB / 372.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.008013, allocations: 0 / 372.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003782/0.008391, allocations: 234.6 kB / 373.2 MB, free: 6.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.008468, allocations: 89.11 kB / 373.3 MB, free: 6.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.008589, allocations: 121.7 kB / 373.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.00861, allocations: 25.7 kB / 373.4 MB, free: 6.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.008671, allocations: 88.14 kB / 373.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.008716, allocations: 23.75 kB / 373.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.008761, allocations: 25.73 kB / 373.5 MB, free: 6.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.008951, allocations: 314.8 kB / 373.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.009028, allocations: 65.67 kB / 373.9 MB, free: 6.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.009097, allocations: 57.69 kB / 374 MB, free: 5.996 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.009271, allocations: 140.2 kB / 374.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009272, allocations: 0 / 374.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002143/0.009487, allocations: 169.2 kB / 374.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.00954, allocations: 41.69 kB / 374.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.009547, allocations: 7.938 kB / 374.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.009566, allocations: 0 / 374.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.536e-06/0.009569, allocations: 8.047 kB / 374.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009575, allocations: 0 / 374.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.009599, allocations: 0 / 374.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.009616, allocations: 4 kB / 374.3 MB, free: 5.594 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.0001469/0.009762, allocations: 155.5 kB / 374.5 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.00979, allocations: 11.95 kB / 374.5 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.009807, allocations: 12.36 kB / 374.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.009808, allocations: 0 / 374.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.009813, allocations: 3.938 kB / 374.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.009815, allocations: 0 / 374.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.00993, allocations: 109.3 kB / 374.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.009931, allocations: 4 kB / 374.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.009931, allocations: 0 / 374.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009934, allocations: 0 / 374.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.009947, allocations: 4 kB / 374.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.009953, allocations: 3.938 kB / 374.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009954, allocations: 0 / 374.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.0103, allocations: 252.7 kB / 374.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.01032, allocations: 15.89 kB / 374.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01034, allocations: 4 kB / 374.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.01036, allocations: 3.938 kB / 374.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.01039, allocations: 15.95 kB / 374.9 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.01039, allocations: 0 / 374.9 MB, free: 4.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.01046, allocations: 91.22 kB / 375 MB, free: 4.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01046, allocations: 0 / 375 MB, free: 4.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.01071, allocations: 27.98 kB / 375 MB, free: 4.82 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.0002027/0.01091, allocations: 111.2 kB / 375.1 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.01124, allocations: 242.7 kB / 375.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01125, allocations: 0 / 375.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.0114, allocations: 145.1 kB / 375.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01166, allocations: 18.7 kB / 375.5 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.01213, allocations: 258 kB / 375.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.453e-05/0.01222, allocations: 75.33 kB / 375.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.222e-05/0.01223, allocations: 0 / 375.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.01225, allocations: 8.5 kB / 375.9 MB, free: 3.871 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01225, allocations: 0 / 375.9 MB, free: 3.871 MB / 346.7 MB Notification: Performance of Templates: time 0.004266/0.01651, allocations: 1.147 MB / 377 MB, free: 2.746 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.630537644028664]