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.001884/0.001884, 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.001893/0.001893, allocations: 169.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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3253/0.3253, allocations: 29.4 MB / 290.5 MB, free: 2.422 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.313e-06/1.313e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.441e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003735/0.00376, allocations: 2.179 MB / 371.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.004718, allocations: 0.5338 MB / 371.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.00476, allocations: 0 / 371.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.004949, allocations: 15.91 kB / 371.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.00503, allocations: 19.84 kB / 371.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.005382, allocations: 91.67 kB / 371.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.005514, allocations: 59.7 kB / 371.8 MB, free: 8.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.005551, allocations: 4 kB / 371.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.005713, allocations: 43.83 kB / 371.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.005772, allocations: 27.89 kB / 371.9 MB, free: 8.316 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.005783, allocations: 0 / 371.9 MB, free: 8.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.00602, allocations: 103.8 kB / 372 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.006059, allocations: 7.938 kB / 372 MB, free: 8.207 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.006088, allocations: 11.92 kB / 372 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.006292, allocations: 107.6 kB / 372.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006296, allocations: 0 / 372.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.006297, allocations: 0 / 372.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.006301, allocations: 0 / 372.1 MB, free: 8.09 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.0004675/0.006769, allocations: 417.8 kB / 372.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.006816, allocations: 15.98 kB / 372.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.006862, allocations: 8.891 kB / 372.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.007029, allocations: 120.5 kB / 372.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.007038, allocations: 384 / 372.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.007045, allocations: 4.375 kB / 372.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.007177, allocations: 75.89 kB / 372.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.007186, allocations: 7.938 kB / 372.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.007197, allocations: 4 kB / 372.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.007201, allocations: 0 / 372.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.007251, allocations: 37.7 kB / 372.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.007398, allocations: 116.6 kB / 372.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.007497, allocations: 68.75 kB / 372.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.007551, allocations: 45.42 kB / 373 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.00756, allocations: 0 / 373 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.007595, allocations: 37.33 kB / 373 MB, free: 6.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 7.31e-07/0.007596, allocations: 0 / 373 MB, free: 6.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002866/0.007882, allocations: 186.7 kB / 373.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.007946, allocations: 81.11 kB / 373.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.00809, allocations: 177.8 kB / 373.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.008108, allocations: 25.7 kB / 373.5 MB, free: 6.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.008192, allocations: 138.9 kB / 373.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.008232, allocations: 27.75 kB / 373.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.00828, allocations: 23.38 kB / 373.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000557/0.008837, allocations: 0.4923 MB / 374.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.008887, allocations: 37.69 kB / 374.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.008936, allocations: 45.8 kB / 374.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.009053, allocations: 99.12 kB / 374.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009054, allocations: 0 / 374.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.009224, allocations: 129 kB / 374.5 MB, free: 5.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.009282, allocations: 41.69 kB / 374.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009287, allocations: 0 / 374.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.009304, allocations: 3.938 kB / 374.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.009305, allocations: 0 / 374.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.00931, allocations: 0 / 374.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.00934, allocations: 8 kB / 374.5 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.009355, allocations: 0 / 374.5 MB, free: 5.352 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.0001638/0.009519, allocations: 198.2 kB / 374.7 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.009542, allocations: 23.91 kB / 374.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.269e-05/0.009554, allocations: 4.438 kB / 374.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.009559, allocations: 3.938 kB / 374.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.009563, allocations: 0 / 374.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.009566, allocations: 0 / 374.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.009701, allocations: 124.6 kB / 374.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.009702, allocations: 0 / 374.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.009703, allocations: 0 / 374.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.009704, allocations: 0 / 374.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.009717, allocations: 4 kB / 374.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009718, allocations: 0 / 374.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.009721, allocations: 7.938 kB / 374.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.009981, allocations: 196.1 kB / 375.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.009999, allocations: 11.89 kB / 375.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01002, allocations: 0 / 375.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.01004, allocations: 8 kB / 375.1 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.01006, allocations: 3.938 kB / 375.1 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01007, allocations: 11.92 kB / 375.1 MB, free: 4.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.01017, allocations: 135.1 kB / 375.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 375.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.01039, allocations: 24 kB / 375.3 MB, free: 4.527 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.0002263/0.01062, allocations: 119.2 kB / 375.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01088, allocations: 178.5 kB / 375.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01088, allocations: 0 / 375.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.01101, allocations: 124.8 kB / 375.7 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.01121, allocations: 11.98 kB / 375.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.01171, allocations: 219.7 kB / 375.9 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.01181, allocations: 75.45 kB / 376 MB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.08e-05/0.01183, allocations: 4 kB / 376 MB, free: 3.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.01185, allocations: 8.5 kB / 376 MB, free: 3.68 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01185, allocations: 0 / 376 MB, free: 3.68 MB / 346.7 MB Notification: Performance of Templates: time 0.004367/0.01622, allocations: 1.138 MB / 377.1 MB, free: 2.566 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] 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.7313375499797985]