Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001584/0.001584, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001711/0.001711, allocations: 165.7 kB / 24.27 MB, free: 172 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.505/1.505, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3145/0.3145, allocations: 29.42 MB / 290.5 MB, free: 2.414 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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.809e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003559/0.003587, allocations: 2.16 MB / 371.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.00462, allocations: 0.5182 MB / 371.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.004675, allocations: 7.938 kB / 371.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.004846, allocations: 7.922 kB / 371.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.004965, allocations: 31.84 kB / 371.6 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.00542, allocations: 79.67 kB / 371.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.005554, allocations: 59.7 kB / 371.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.005596, allocations: 11.98 kB / 371.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.00576, allocations: 35.84 kB / 371.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.005819, allocations: 31.89 kB / 371.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.005831, allocations: 0 / 371.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.006051, allocations: 95.78 kB / 371.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.006114, allocations: 31.86 kB / 372 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.006149, allocations: 15.94 kB / 372 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.006392, allocations: 135.5 kB / 372.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006395, allocations: 0 / 372.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006396, allocations: 0 / 372.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.0064, allocations: 0 / 372.1 MB, free: 8.062 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004833/0.006883, allocations: 363.4 kB / 372.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.006922, allocations: 15.98 kB / 372.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.006974, allocations: 12.84 kB / 372.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.007171, allocations: 129.6 kB / 372.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.007186, allocations: 4.375 kB / 372.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.007195, allocations: 384 / 372.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.007438, allocations: 155.9 kB / 372.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.007451, allocations: 7.938 kB / 372.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.00746, allocations: 0 / 372.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.007464, allocations: 0 / 372.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.007607, allocations: 121.7 kB / 372.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.007756, allocations: 117.2 kB / 373 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.00794, allocations: 144.2 kB / 373.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.008088, allocations: 130.5 kB / 373.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.008097, allocations: 0 / 373.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.008133, allocations: 34.56 kB / 373.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 8.11e-07/0.008133, allocations: 4 kB / 373.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006473/0.008781, allocations: 453.7 kB / 373.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.008862, allocations: 97.09 kB / 373.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009, allocations: 136.6 kB / 374 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.009019, allocations: 25.7 kB / 374 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.009088, allocations: 100.6 kB / 374.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.009184, allocations: 79.28 kB / 374.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.009235, allocations: 29.7 kB / 374.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.009418, allocations: 322.8 kB / 374.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.009559, allocations: 121.7 kB / 374.7 MB, free: 5.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.009692, allocations: 125.7 kB / 374.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.01001, allocations: 290.8 kB / 375.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01001, allocations: 0 / 375.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003744/0.01038, allocations: 304.8 kB / 375.4 MB, free: 4.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.01068, allocations: 65.66 kB / 375.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01069, allocations: 3.938 kB / 375.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.0107, allocations: 0 / 375.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.01071, allocations: 7.875 kB / 375.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01071, allocations: 7.984 kB / 375.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.01075, allocations: 11.89 kB / 375.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.01077, allocations: 4 kB / 375.5 MB, free: 4.445 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.0001876/0.01096, allocations: 195.5 kB / 375.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.011, allocations: 23.91 kB / 375.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.01102, allocations: 13.22 kB / 375.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01102, allocations: 0 / 375.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01103, allocations: 4 kB / 375.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.01103, allocations: 0 / 375.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.01117, allocations: 125.2 kB / 375.8 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01117, allocations: 0 / 375.8 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-06/0.01118, allocations: 7.984 kB / 375.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.01118, allocations: 4 kB / 375.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.0112, allocations: 11.98 kB / 375.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.0112, allocations: 3.938 kB / 375.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0112, allocations: 0 / 375.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.01187, allocations: 0.5019 MB / 376.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.01189, allocations: 15.84 kB / 376.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01192, allocations: 4 kB / 376.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.01194, allocations: 7.938 kB / 376.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.01197, allocations: 8 kB / 376.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01199, allocations: 7.984 kB / 376.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.01208, allocations: 103.2 kB / 376.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01208, allocations: 0 / 376.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000257/0.01233, allocations: 47.97 kB / 376.5 MB, free: 3.297 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.0002054/0.01254, allocations: 119.2 kB / 376.6 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.0132, allocations: 498.6 kB / 377.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0132, allocations: 0 / 377.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.01354, allocations: 293 kB / 377.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01377, allocations: 14.66 kB / 377.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.01454, allocations: 0.4952 MB / 377.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.01466, allocations: 108.7 kB / 378 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.818e-05/0.01468, allocations: 4 kB / 378 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.0147, allocations: 8.5 kB / 378 MB, free: 1.672 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0147, allocations: 3.938 kB / 378.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of Templates: time 0.005413/0.02011, allocations: 2.03 MB / 380.1 MB, free: 15.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.775137716904283]