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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 187.1 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1851/0.1851, allocations: 38.54 MB / 346.3 MB, free: 2.129 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001962/0.001962, allocations: 67.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3413, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003162/0.3445, allocations: 2.134 MB / 0.5351 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.3452, allocations: 0.5346 MB / 0.5357 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.3453, allocations: 3.938 kB / 0.5357 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.3454, allocations: 11.64 kB / 0.5357 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.3455, allocations: 24.55 kB / 0.5357 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.3459, allocations: 81.22 kB / 0.5358 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.346, allocations: 62.47 kB / 0.5358 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.3461, allocations: 6.219 kB / 0.5358 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.3462, allocations: 34.23 kB / 0.5359 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.3462, allocations: 26.55 kB / 0.5359 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3462, allocations: 1.375 kB / 0.5359 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.3465, allocations: 131.9 kB / 0.536 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.3465, allocations: 27.44 kB / 0.536 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.3465, allocations: 31.78 kB / 0.5361 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3467, allocations: 138.3 kB / 0.5362 GB, free: 3.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.3467, allocations: 5.188 kB / 0.5362 GB, free: 3.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3467, allocations: 0 / 0.5362 GB, free: 3.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3468, allocations: 0 / 0.5362 GB, free: 3.41 MB / 382.1 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.0003368/0.3471, allocations: 361.9 kB / 0.5366 GB, free: 3.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3471, allocations: 8.469 kB / 0.5366 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3472, allocations: 12.66 kB / 0.5366 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3473, allocations: 131.9 kB / 0.5367 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3473, allocations: 4.312 kB / 0.5367 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3473, allocations: 6.156 kB / 0.5367 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3474, allocations: 90.73 kB / 0.5368 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3475, allocations: 1.531 kB / 0.5368 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3475, allocations: 0 / 0.5368 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3475, allocations: 0 / 0.5368 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.3475, allocations: 62.8 kB / 0.5369 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.3476, allocations: 147.5 kB / 0.537 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.007e-05/0.3477, allocations: 73.91 kB / 0.5371 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.3478, allocations: 71.8 kB / 0.5371 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.3478, allocations: 0 / 0.5371 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.3478, allocations: 31.94 kB / 0.5372 GB, free: 2.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 7.61e-07/0.3478, allocations: 0 / 0.5372 GB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003613/0.3482, allocations: 305 kB / 0.5375 GB, free: 2.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3482, allocations: 92.23 kB / 0.5375 GB, free: 2.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.3483, allocations: 136 kB / 0.5377 GB, free: 2.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3483, allocations: 27.08 kB / 0.5377 GB, free: 2.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.3483, allocations: 95.36 kB / 0.5378 GB, free: 2.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.3484, allocations: 88.81 kB / 0.5379 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3484, allocations: 31.27 kB / 0.5379 GB, free: 1.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.3485, allocations: 327 kB / 0.5382 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.3485, allocations: 55.72 kB / 0.5383 GB, free: 1.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.3486, allocations: 58.47 kB / 0.5383 GB, free: 1.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.3488, allocations: 244.6 kB / 0.5386 GB, free: 1.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3488, allocations: 0 / 0.5386 GB, free: 1.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002139/0.349, allocations: 230.2 kB / 0.5388 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.3491, allocations: 68.22 kB / 0.5388 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3491, allocations: 1.344 kB / 0.5389 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3491, allocations: 3.938 kB / 0.5389 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3491, allocations: 0 / 0.5389 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3491, allocations: 1.344 kB / 0.5389 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.3491, allocations: 16.48 kB / 0.5389 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.3491, allocations: 8.109 kB / 0.5389 GB, free: 1.289 MB / 382.1 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.0001167/0.3493, allocations: 199 kB / 0.5391 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.3493, allocations: 15.38 kB / 0.5391 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.3493, allocations: 12.06 kB / 0.5391 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3493, allocations: 0 / 0.5391 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3493, allocations: 5.203 kB / 0.5391 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3493, allocations: 0 / 0.5391 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.92e-05/0.3494, allocations: 172.6 kB / 0.5393 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3494, allocations: 4 kB / 0.5393 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3494, allocations: 0 / 0.5393 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3494, allocations: 1.438 kB / 0.5393 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3494, allocations: 3.969 kB / 0.5393 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3494, allocations: 0 / 0.5393 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3494, allocations: 5.219 kB / 0.5393 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.3499, allocations: 0.4963 MB / 0.5398 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.3499, allocations: 16.28 kB / 0.5398 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3499, allocations: 9.031 kB / 0.5398 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.3499, allocations: 2.594 kB / 0.5398 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.35, allocations: 15 kB / 0.5398 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.35, allocations: 3.812 kB / 0.5398 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.35, allocations: 110.1 kB / 0.5399 GB, free: 0.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.35, allocations: 0 / 0.5399 GB, free: 0.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3503, allocations: 45.22 kB / 0.54 GB, free: 0.5391 MB / 382.1 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.0001483/0.3504, allocations: 112 kB / 0.5401 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.3509, allocations: 458.1 kB / 0.5405 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3509, allocations: 0 / 0.5405 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.3512, allocations: 316.6 kB / 0.5408 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.3514, allocations: 19.69 kB / 0.5408 GB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.3521, allocations: 427.8 kB / 0.5412 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3525, allocations: 0.7225 MB / 0.5419 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.3525, allocations: 1.469 kB / 0.5419 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.3525, allocations: 8.969 kB / 0.5419 GB, free: 15.14 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3525, allocations: 0 / 0.5419 GB, free: 15.14 MB / 398.1 MB Notification: Performance of Templates: time 0.005597/0.3581, allocations: 2.075 MB / 0.544 GB, free: 14.12 MB / 398.1 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.975716067478061]