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.0009722/0.0009722, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009159/0.0009159, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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 0.9487/0.9487, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.2327/0.2327, allocations: 29.42 MB / 291.2 MB, free: 2.457 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.352e-06/1.352e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.438e-05, allocations: 9.484 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002285/0.002299, allocations: 2.211 MB / 372.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.002849, allocations: 0.5338 MB / 372.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.002887, allocations: 7.938 kB / 372.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.003001, allocations: 11.92 kB / 372.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.003072, allocations: 27.78 kB / 372.9 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.003359, allocations: 75.73 kB / 373 MB, free: 7.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.003452, allocations: 71.69 kB / 373.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.992e-05/0.003482, allocations: 0 / 373.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003585, allocations: 43.89 kB / 373.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.003622, allocations: 23.91 kB / 373.1 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.00363, allocations: 0 / 373.1 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.003766, allocations: 99.67 kB / 373.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.003803, allocations: 27.92 kB / 373.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.003823, allocations: 19.92 kB / 373.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.003967, allocations: 127.5 kB / 373.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003969, allocations: 0 / 373.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003969, allocations: 0 / 373.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.003972, allocations: 0 / 373.4 MB, free: 7.426 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.000276/0.004248, allocations: 469.8 kB / 373.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.004282, allocations: 15.98 kB / 373.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.00431, allocations: 12.84 kB / 373.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.004412, allocations: 136.4 kB / 374 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.00442, allocations: 4.375 kB / 374 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.004425, allocations: 384 / 374 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.004506, allocations: 83.95 kB / 374.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.004513, allocations: 7.875 kB / 374.1 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.004519, allocations: 4 kB / 374.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.004524, allocations: 4 kB / 374.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.004555, allocations: 57.69 kB / 374.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.098e-05/0.004646, allocations: 109.1 kB / 374.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.004708, allocations: 80.75 kB / 374.4 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.004746, allocations: 65.41 kB / 374.4 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-06/0.00475, allocations: 0 / 374.4 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.004774, allocations: 33.39 kB / 374.5 MB, free: 6.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 7.81e-07/0.004775, allocations: 4 kB / 374.5 MB, free: 6.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002259/0.005001, allocations: 277.5 kB / 374.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.00504, allocations: 97.03 kB / 374.8 MB, free: 5.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.005125, allocations: 200.7 kB / 375 MB, free: 5.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.005133, allocations: 25.7 kB / 375 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.005172, allocations: 147.3 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.00522, allocations: 91.23 kB / 375.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.005249, allocations: 35.36 kB / 375.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.00535, allocations: 0.4962 MB / 375.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.005383, allocations: 57.7 kB / 375.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.005414, allocations: 53.69 kB / 375.9 MB, free: 4.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.005492, allocations: 153.3 kB / 376.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005493, allocations: 4 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001138/0.005607, allocations: 193 kB / 376.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.005646, allocations: 57.66 kB / 376.3 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005651, allocations: 8.062 kB / 376.3 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.00566, allocations: 0 / 376.3 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.005662, allocations: 3.938 kB / 376.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.005665, allocations: 0 / 376.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.005685, allocations: 7.953 kB / 376.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.005699, allocations: 4 kB / 376.3 MB, free: 4.191 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.267e-05/0.005781, allocations: 226.2 kB / 376.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.0058, allocations: 23.91 kB / 376.6 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.005817, allocations: 9.266 kB / 376.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.005818, allocations: 0 / 376.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.00582, allocations: 7.938 kB / 376.6 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005822, allocations: 0 / 376.6 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.547e-05/0.005888, allocations: 125.2 kB / 376.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005889, allocations: 0 / 376.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-07/0.005889, allocations: 3.938 kB / 376.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.00589, allocations: 0 / 376.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.005897, allocations: 4 kB / 376.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005898, allocations: 0 / 376.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005898, allocations: 0 / 376.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.00609, allocations: 313.7 kB / 377 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.006102, allocations: 15.84 kB / 377.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.006113, allocations: 8.031 kB / 377.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.006126, allocations: 4 kB / 377.1 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.006139, allocations: 8 kB / 377.1 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.006145, allocations: 4 kB / 377.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.006187, allocations: 147.1 kB / 377.2 MB, free: 3.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006187, allocations: 3.938 kB / 377.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.006343, allocations: 43.94 kB / 377.3 MB, free: 3.188 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.000107/0.006451, allocations: 115.2 kB / 377.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.006634, allocations: 270.3 kB / 377.6 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006635, allocations: 4.062 kB / 377.6 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.006725, allocations: 185.5 kB / 377.8 MB, free: 2.562 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.006871, allocations: 19.09 kB / 377.8 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.007186, allocations: 356.5 kB / 378.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.007221, allocations: 75.33 kB / 378.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.049e-05/0.007232, allocations: 0 / 378.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.007326, allocations: 114.2 kB / 378.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007326, allocations: 3.938 kB / 378.4 MB, free: 1.949 MB / 346.7 MB Notification: Performance of Templates: time 0.003175/0.0105, allocations: 2.168 MB / 380.6 MB, free: 15.82 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: 2.7544958610087633]