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.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.001387/0.001387, allocations: 113 kB / 19.04 MB, free: 3.254 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.001328/0.001328, allocations: 197.9 kB / 22.22 MB, free: 72 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.32 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.2152/0.2152, allocations: 38.52 MB / 344.5 MB, free: 2.566 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_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 0.001967/0.001967, allocations: 71.89 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 61.24 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003331/0.3533, allocations: 2.113 MB / 0.5326 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.3541, allocations: 0.5298 MB / 0.5332 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3541, allocations: 0 / 0.5332 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.3543, allocations: 15.25 kB / 0.5332 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.3544, allocations: 21.41 kB / 0.5332 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.3547, allocations: 71.2 kB / 0.5333 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3549, allocations: 61.25 kB / 0.5333 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.3549, allocations: 3 kB / 0.5333 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.355, allocations: 32.78 kB / 0.5334 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.355, allocations: 36.23 kB / 0.5334 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3551, allocations: 1.219 kB / 0.5334 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.3552, allocations: 92.41 kB / 0.5335 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.3553, allocations: 19.78 kB / 0.5335 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3553, allocations: 22.33 kB / 0.5335 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3555, allocations: 106.8 kB / 0.5336 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3555, allocations: 0.6094 kB / 0.5336 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3555, allocations: 0 / 0.5336 GB, free: 3.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3555, allocations: 0 / 0.5336 GB, free: 3.465 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003418/0.3559, allocations: 403.5 kB / 0.534 GB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3559, allocations: 12.98 kB / 0.534 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.3559, allocations: 8.453 kB / 0.534 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3561, allocations: 181.8 kB / 0.5342 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3561, allocations: 6.156 kB / 0.5342 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3561, allocations: 4.125 kB / 0.5342 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3562, allocations: 68.2 kB / 0.5343 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3562, allocations: 3.984 kB / 0.5343 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3563, allocations: 0 / 0.5343 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3563, allocations: 0 / 0.5343 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.3563, allocations: 29.38 kB / 0.5343 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.3564, allocations: 168.4 kB / 0.5345 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.3565, allocations: 51.84 kB / 0.5345 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.3565, allocations: 41.5 kB / 0.5346 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3565, allocations: 1.625 kB / 0.5346 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3565, allocations: 31.36 kB / 0.5346 GB, free: 2.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.3566, allocations: 0 / 0.5346 GB, free: 2.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002644/0.3568, allocations: 175.9 kB / 0.5348 GB, free: 2.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3569, allocations: 90.58 kB / 0.5348 GB, free: 2.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.3569, allocations: 120.1 kB / 0.535 GB, free: 2.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.3569, allocations: 29.64 kB / 0.535 GB, free: 2.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.357, allocations: 92.3 kB / 0.5351 GB, free: 2.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.357, allocations: 36.7 kB / 0.5351 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3571, allocations: 18.58 kB / 0.5351 GB, free: 2.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.3571, allocations: 319.6 kB / 0.5354 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.3572, allocations: 33.05 kB / 0.5355 GB, free: 1.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.3572, allocations: 29.44 kB / 0.5355 GB, free: 1.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3573, allocations: 160.5 kB / 0.5356 GB, free: 1.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3573, allocations: 0 / 0.5356 GB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001564/0.3575, allocations: 146.2 kB / 0.5358 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.3575, allocations: 49.05 kB / 0.5358 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3575, allocations: 0 / 0.5358 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3576, allocations: 6.953 kB / 0.5358 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3576, allocations: 4 kB / 0.5358 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3576, allocations: 3.938 kB / 0.5358 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.3576, allocations: 11.86 kB / 0.5359 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3576, allocations: 2.062 kB / 0.5359 GB, free: 1.484 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 9.333e-05/0.3577, allocations: 171.7 kB / 0.536 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.3577, allocations: 14.05 kB / 0.536 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.3577, allocations: 6.891 kB / 0.536 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3577, allocations: 1.562 kB / 0.536 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3577, allocations: 0 / 0.536 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3577, allocations: 0.6562 kB / 0.536 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.3578, allocations: 180.9 kB / 0.5362 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3578, allocations: 0 / 0.5362 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3578, allocations: 0 / 0.5362 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3578, allocations: 6.156 kB / 0.5362 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3578, allocations: 2.844 kB / 0.5362 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3578, allocations: 0 / 0.5362 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3578, allocations: 0.7969 kB / 0.5362 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3581, allocations: 279.6 kB / 0.5365 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3581, allocations: 84.47 kB / 0.5366 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3582, allocations: 3.406 kB / 0.5366 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.3582, allocations: 1.375 kB / 0.5366 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3582, allocations: 6.062 kB / 0.5366 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3582, allocations: 4.828 kB / 0.5366 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.007e-05/0.3582, allocations: 100.2 kB / 0.5367 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3582, allocations: 0 / 0.5367 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3585, allocations: 33.47 kB / 0.5367 GB, free: 0.7812 MB / 382.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.0001646/0.3586, allocations: 120 kB / 0.5368 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.3589, allocations: 230.6 kB / 0.537 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3589, allocations: 1.438 kB / 0.537 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3591, allocations: 161.6 kB / 0.5372 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.3593, allocations: 13.56 kB / 0.5372 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.3597, allocations: 275.6 kB / 0.5375 GB, free: 300 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.36, allocations: 0.7004 MB / 0.5382 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.36, allocations: 1.344 kB / 0.5382 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.3601, allocations: 13.41 kB / 0.5382 GB, free: 15.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3601, allocations: 0 / 0.5382 GB, free: 15.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004317/0.3644, allocations: 1.349 MB / 0.5395 GB, free: 14.91 MB / 398.1 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.982409184798598]