Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001633/0.001633, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001665/0.001665, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.452/1.452, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.1818/0.1818, allocations: 38.53 MB / 344.5 MB, free: 2.582 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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 79.88 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3299, allocations: 61.23 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003134/0.3331, allocations: 2.117 MB / 0.5326 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.3338, allocations: 0.5334 MB / 0.5332 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.3338, allocations: 1.094 kB / 0.5332 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.334, allocations: 10.88 kB / 0.5332 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.3341, allocations: 21.47 kB / 0.5332 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.3345, allocations: 75 kB / 0.5333 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3346, allocations: 58.22 kB / 0.5333 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.3346, allocations: 2.297 kB / 0.5333 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.3347, allocations: 29.78 kB / 0.5333 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.3348, allocations: 34.22 kB / 0.5334 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.3348, allocations: 5.062 kB / 0.5334 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.335, allocations: 84.98 kB / 0.5335 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.3351, allocations: 46.55 kB / 0.5335 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.3352, allocations: 41.52 kB / 0.5336 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.3354, allocations: 157.8 kB / 0.5337 GB, free: 3.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3354, allocations: 2.641 kB / 0.5337 GB, free: 3.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3354, allocations: 0 / 0.5337 GB, free: 3.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3355, allocations: 0 / 0.5337 GB, free: 3.414 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004636/0.3359, allocations: 487.1 kB / 0.5342 GB, free: 2.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.336, allocations: 16.86 kB / 0.5342 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.336, allocations: 17.86 kB / 0.5342 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3362, allocations: 203.6 kB / 0.5344 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3362, allocations: 5.156 kB / 0.5344 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3362, allocations: 4 kB / 0.5344 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.3364, allocations: 129.6 kB / 0.5345 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3364, allocations: 0 / 0.5345 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3365, allocations: 2.422 kB / 0.5345 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3365, allocations: 0 / 0.5345 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3366, allocations: 98.23 kB / 0.5346 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.3367, allocations: 196.7 kB / 0.5348 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3369, allocations: 109.3 kB / 0.5349 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.337, allocations: 106.2 kB / 0.535 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.337, allocations: 0.7031 kB / 0.535 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3371, allocations: 31.94 kB / 0.535 GB, free: 2.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.082e-06/0.3371, allocations: 0 / 0.535 GB, free: 2.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006146/0.3377, allocations: 483.6 kB / 0.5355 GB, free: 2.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3377, allocations: 104.9 kB / 0.5356 GB, free: 2.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3378, allocations: 147.9 kB / 0.5358 GB, free: 1.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.3379, allocations: 26.92 kB / 0.5358 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3379, allocations: 102.7 kB / 0.5359 GB, free: 1.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.338, allocations: 134.8 kB / 0.536 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.338, allocations: 37.09 kB / 0.536 GB, free: 1.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.3381, allocations: 335.1 kB / 0.5364 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3382, allocations: 89.28 kB / 0.5364 GB, free: 1.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.3383, allocations: 94.22 kB / 0.5365 GB, free: 1.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3386, allocations: 367.6 kB / 0.5369 GB, free: 1.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3386, allocations: 0 / 0.5369 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002904/0.3389, allocations: 334 kB / 0.5372 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.3389, allocations: 88.56 kB / 0.5373 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.339, allocations: 0 / 0.5373 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.339, allocations: 0 / 0.5373 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.041e-06/0.339, allocations: 0 / 0.5373 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.339, allocations: 1.438 kB / 0.5373 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.339, allocations: 27.41 kB / 0.5373 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.339, allocations: 6.531 kB / 0.5373 GB, free: 0.9062 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.0001462/0.3392, allocations: 233.6 kB / 0.5375 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3392, allocations: 24.5 kB / 0.5376 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.3392, allocations: 9.812 kB / 0.5376 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3392, allocations: 0 / 0.5376 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3392, allocations: 0 / 0.5376 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3392, allocations: 1.25 kB / 0.5376 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3394, allocations: 229.7 kB / 0.5378 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3394, allocations: 1.312 kB / 0.5378 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3394, allocations: 0 / 0.5378 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.3394, allocations: 0 / 0.5378 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3394, allocations: 10.25 kB / 0.5378 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3394, allocations: 5.266 kB / 0.5378 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3394, allocations: 4 kB / 0.5378 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.3402, allocations: 0.9042 MB / 0.5387 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.3403, allocations: 102.5 kB / 0.5388 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.3403, allocations: 6.812 kB / 0.5388 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.125e-05/0.3403, allocations: 5.5 kB / 0.5388 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.3403, allocations: 10.72 kB / 0.5388 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3404, allocations: 5.625 kB / 0.5388 GB, free: 15.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.3405, allocations: 123.6 kB / 0.5389 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 0.5389 GB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.3408, allocations: 61.56 kB / 0.539 GB, free: 15.84 MB / 398.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.0001974/0.3409, allocations: 114.9 kB / 0.5391 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.3418, allocations: 0.8212 MB / 0.5399 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3418, allocations: 0 / 0.5399 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.3424, allocations: 0.5954 MB / 0.5405 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3426, allocations: 29.86 kB / 0.5405 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008947/0.3435, allocations: 0.6234 MB / 0.5411 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3439, allocations: 0.7484 MB / 0.5419 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.344, allocations: 1.062 kB / 0.5419 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.344, allocations: 8.594 kB / 0.5419 GB, free: 14.13 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.344, allocations: 1.125 kB / 0.5419 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Templates: time 0.007696/0.3517, allocations: 2.812 MB / 0.5446 GB, free: 12.77 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.901022375561297]