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.001731/0.001731, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002116/0.002116, allocations: 161.7 kB / 24.26 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.49/1.49, allocations: 177.2 MB / 204.6 MB, free: 5.566 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.3009/0.3009, allocations: 29.41 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.943e-06/1.943e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.025e-05, allocations: 5.688 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004084/0.004115, allocations: 2.157 MB / 371.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.005106, allocations: 0.5222 MB / 371.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.005158, allocations: 3.938 kB / 371.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.005317, allocations: 11.92 kB / 371.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.00546, allocations: 23.83 kB / 371.6 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.005859, allocations: 87.69 kB / 371.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.005999, allocations: 63.69 kB / 371.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.006036, allocations: 0 / 371.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.006197, allocations: 43.83 kB / 371.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.00626, allocations: 27.89 kB / 371.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.00627, allocations: 4 kB / 371.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.006485, allocations: 91.8 kB / 371.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.006543, allocations: 15.94 kB / 371.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.006586, allocations: 11.92 kB / 372 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006829, allocations: 115.6 kB / 372.1 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.006834, allocations: 0 / 372.1 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.006837, allocations: 0 / 372.1 MB, free: 8.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.006843, allocations: 0 / 372.1 MB, free: 8.098 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.0005272/0.00737, allocations: 327.7 kB / 372.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.00741, allocations: 8.031 kB / 372.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.007467, allocations: 8.891 kB / 372.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.007659, allocations: 121.7 kB / 372.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.007669, allocations: 384 / 372.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.007681, allocations: 8.312 kB / 372.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.007868, allocations: 111.9 kB / 372.6 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007878, allocations: 7.938 kB / 372.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.00789, allocations: 0 / 372.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.007895, allocations: 0 / 372.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.007989, allocations: 73.69 kB / 372.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.008157, allocations: 113.3 kB / 372.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.008289, allocations: 92.25 kB / 372.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.008389, allocations: 82.56 kB / 373 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.008398, allocations: 0 / 373 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.008437, allocations: 34.56 kB / 373 MB, free: 6.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.01e-07/0.008438, allocations: 3.938 kB / 373 MB, free: 6.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004563/0.008894, allocations: 294.1 kB / 373.3 MB, free: 6.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.008969, allocations: 85.11 kB / 373.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.009094, allocations: 125.8 kB / 373.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.009118, allocations: 25.7 kB / 373.6 MB, free: 6.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.009176, allocations: 88.14 kB / 373.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.009233, allocations: 43.61 kB / 373.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.009279, allocations: 21.72 kB / 373.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.009476, allocations: 318.8 kB / 374 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.00957, allocations: 77.67 kB / 374.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.00965, allocations: 73.67 kB / 374.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.009849, allocations: 180.1 kB / 374.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009851, allocations: 4.062 kB / 374.4 MB, free: 5.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002431/0.01009, allocations: 201 kB / 374.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.01015, allocations: 49.61 kB / 374.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01016, allocations: 0 / 374.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.01018, allocations: 7.938 kB / 374.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.01018, allocations: 0 / 374.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01019, allocations: 0 / 374.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.01022, allocations: 7.953 kB / 374.6 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01024, allocations: 0 / 374.6 MB, free: 5.289 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.0001845/0.01043, allocations: 167.5 kB / 374.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.01045, allocations: 15.98 kB / 374.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.01047, allocations: 8.438 kB / 374.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.01048, allocations: 7.922 kB / 374.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.01048, allocations: 4 kB / 374.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01049, allocations: 0 / 374.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.01062, allocations: 121.1 kB / 374.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01062, allocations: 0 / 374.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.01062, allocations: 0 / 374.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.01062, allocations: 0 / 374.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.01064, allocations: 8 kB / 374.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01064, allocations: 0 / 374.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.01064, allocations: 7.938 kB / 374.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.01109, allocations: 315.9 kB / 375.3 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.0111, allocations: 3.953 kB / 375.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01112, allocations: 11.92 kB / 375.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.01115, allocations: 7.984 kB / 375.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.01118, allocations: 7.938 kB / 375.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01119, allocations: 4 kB / 375.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.01128, allocations: 91.27 kB / 375.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01128, allocations: 4 kB / 375.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01153, allocations: 31.94 kB / 375.4 MB, free: 4.418 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.000255/0.01178, allocations: 119.1 kB / 375.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.01226, allocations: 306.7 kB / 375.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01226, allocations: 0 / 375.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.01248, allocations: 185 kB / 376 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01276, allocations: 11.98 kB / 376 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.01334, allocations: 310.5 kB / 376.3 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.01345, allocations: 83.45 kB / 376.4 MB, free: 3.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.01346, allocations: 7.938 kB / 376.4 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.01348, allocations: 8.5 kB / 376.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01349, allocations: 0 / 376.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of Templates: time 0.004743/0.01823, allocations: 1.391 MB / 377.8 MB, free: 1.918 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] 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.635913429083303]