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.001084/0.001084, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001447/0.001447, allocations: 165 kB / 24.56 MB, free: 12 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.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2355/0.2355, allocations: 29.43 MB / 290.9 MB, free: 2.488 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|zr_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.397e-05, allocations: 2.312 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002121/0.002135, allocations: 2.221 MB / 371.9 MB, free: 8.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006164/0.002752, allocations: 0.5415 MB / 372.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.002795, allocations: 0 / 372.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.002936, allocations: 11.92 kB / 372.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.003018, allocations: 27.77 kB / 372.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.003338, allocations: 83.73 kB / 372.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003442, allocations: 63.7 kB / 372.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.003477, allocations: 4 kB / 372.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.003601, allocations: 39.83 kB / 372.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.003642, allocations: 31.89 kB / 372.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.003651, allocations: 0 / 372.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.003805, allocations: 95.78 kB / 372.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.003852, allocations: 35.86 kB / 372.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.003876, allocations: 11.94 kB / 372.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.00403, allocations: 127.5 kB / 372.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004032, allocations: 4 kB / 372.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004032, allocations: 0 / 372.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004036, allocations: 0 / 372.9 MB, free: 7.676 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.000337/0.004373, allocations: 465.7 kB / 373.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.004405, allocations: 11.98 kB / 373.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.004448, allocations: 16.84 kB / 373.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.004579, allocations: 136.4 kB / 373.6 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.004589, allocations: 384 / 373.6 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.004597, allocations: 384 / 373.6 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.004714, allocations: 95.94 kB / 373.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004721, allocations: 3.938 kB / 373.7 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004731, allocations: 4 kB / 373.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.004741, allocations: 0 / 373.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.004779, allocations: 57.69 kB / 373.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.00489, allocations: 132.5 kB / 373.9 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.004959, allocations: 92.69 kB / 373.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.005, allocations: 65.42 kB / 374 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.005004, allocations: 0 / 374 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.005027, allocations: 41.38 kB / 374 MB, free: 6.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 7.61e-07/0.005028, allocations: 0 / 374 MB, free: 6.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002625/0.00529, allocations: 297.5 kB / 374.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.005333, allocations: 101.1 kB / 374.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.00542, allocations: 192.3 kB / 374.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.005429, allocations: 25.7 kB / 374.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.005472, allocations: 139.4 kB / 374.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.005526, allocations: 91.25 kB / 374.9 MB, free: 5.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.005555, allocations: 27.38 kB / 374.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.005668, allocations: 0.504 MB / 375.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.005711, allocations: 57.69 kB / 375.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.005744, allocations: 61.69 kB / 375.5 MB, free: 4.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.005836, allocations: 157.4 kB / 375.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005839, allocations: 0 / 375.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001306/0.005969, allocations: 212.9 kB / 375.9 MB, free: 4.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.00601, allocations: 65.59 kB / 375.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006015, allocations: 0 / 375.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006028, allocations: 3.938 kB / 376 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-06/0.006031, allocations: 0 / 376 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006035, allocations: 0 / 376 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.006057, allocations: 7.953 kB / 376 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.006075, allocations: 8 kB / 376 MB, free: 4.359 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 8.831e-05/0.006163, allocations: 218.2 kB / 376.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.006182, allocations: 23.91 kB / 376.2 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.006194, allocations: 17.3 kB / 376.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006196, allocations: 3.938 kB / 376.2 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.0062, allocations: 4 kB / 376.2 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.006202, allocations: 0 / 376.2 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.975e-05/0.006272, allocations: 140.6 kB / 376.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006273, allocations: 0 / 376.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-06/0.006274, allocations: 4 kB / 376.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006276, allocations: 0 / 376.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.006286, allocations: 4 kB / 376.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006286, allocations: 0 / 376.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.006288, allocations: 3.938 kB / 376.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.006514, allocations: 332.7 kB / 376.7 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006526, allocations: 15.84 kB / 376.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.006541, allocations: 4 kB / 376.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.006554, allocations: 4 kB / 376.7 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.006572, allocations: 11.94 kB / 376.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.006579, allocations: 4 kB / 376.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.006629, allocations: 143.2 kB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006629, allocations: 0 / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.006791, allocations: 43.94 kB / 376.9 MB, free: 3.316 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.0001225/0.006913, allocations: 119.2 kB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.007131, allocations: 287.4 kB / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007132, allocations: 0 / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.007233, allocations: 188.7 kB / 377.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.007388, allocations: 22.91 kB / 377.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.007764, allocations: 365.3 kB / 377.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.007805, allocations: 87.38 kB / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.007819, allocations: 4 kB / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.261e-05/0.007831, allocations: 8.5 kB / 378 MB, free: 2.141 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007832, allocations: 0 / 378 MB, free: 2.141 MB / 346.7 MB Notification: Performance of Templates: time 0.00343/0.01126, allocations: 2.174 MB / 380.2 MB, free: 15.99 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.085797854233533]