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.001394/0.001394, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001704/0.001704, allocations: 212.2 kB / 23.73 MB, free: 4.16 MB / 14.72 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 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.187/0.187, allocations: 38.57 MB / 352.5 MB, free: 12.33 MB / 286.1 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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",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.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 64.19 kB / 493 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3674, allocations: 62.47 MB / 0.5424 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003619/0.371, allocations: 2.143 MB / 0.5445 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.372, allocations: 0.5141 MB / 0.545 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.372, allocations: 4.781 kB / 0.545 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3722, allocations: 10.23 kB / 0.545 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.3723, allocations: 25.38 kB / 0.5451 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.3727, allocations: 74.06 kB / 0.5451 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.3729, allocations: 64.84 kB / 0.5452 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.3729, allocations: 10.61 kB / 0.5452 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3731, allocations: 36.62 kB / 0.5452 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.3731, allocations: 28.34 kB / 0.5453 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3731, allocations: 1.125 kB / 0.5453 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.3734, allocations: 97.02 kB / 0.5454 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.3734, allocations: 29.56 kB / 0.5454 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3735, allocations: 28.75 kB / 0.5454 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3737, allocations: 127.1 kB / 0.5455 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3737, allocations: 1.562 kB / 0.5455 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3737, allocations: 0 / 0.5455 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3737, allocations: 0 / 0.5455 GB, free: 14.22 MB / 398.1 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.0004767/0.3742, allocations: 365.9 kB / 0.5459 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3743, allocations: 12.61 kB / 0.5459 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3743, allocations: 13.09 kB / 0.5459 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3745, allocations: 139.2 kB / 0.546 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3745, allocations: 5.344 kB / 0.5461 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3745, allocations: 5.781 kB / 0.5461 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.3748, allocations: 160.8 kB / 0.5462 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3748, allocations: 0 / 0.5462 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3748, allocations: 1.188 kB / 0.5462 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.3748, allocations: 0 / 0.5462 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3749, allocations: 125.5 kB / 0.5463 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.3751, allocations: 126.6 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3753, allocations: 147.6 kB / 0.5466 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3755, allocations: 140.8 kB / 0.5467 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3755, allocations: 0 / 0.5467 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3755, allocations: 35.91 kB / 0.5468 GB, free: 13.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.002e-06/0.3755, allocations: 5.031 kB / 0.5468 GB, free: 13.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006937/0.3762, allocations: 461 kB / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.3763, allocations: 104.9 kB / 0.5473 GB, free: 12.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3764, allocations: 132 kB / 0.5474 GB, free: 12.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3765, allocations: 25.7 kB / 0.5475 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.3765, allocations: 100.1 kB / 0.5476 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3766, allocations: 80.39 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.3767, allocations: 27.83 kB / 0.5477 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3769, allocations: 324.1 kB / 0.548 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.377, allocations: 128.7 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3772, allocations: 124.6 kB / 0.5482 GB, free: 12.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.3775, allocations: 292 kB / 0.5485 GB, free: 11.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3775, allocations: 0 / 0.5485 GB, free: 11.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003854/0.3779, allocations: 325.7 kB / 0.5488 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.378, allocations: 72.94 kB / 0.5489 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.378, allocations: 4.062 kB / 0.5489 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.378, allocations: 1.406 kB / 0.5489 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.378, allocations: 0 / 0.5489 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.378, allocations: 0 / 0.5489 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.378, allocations: 17.58 kB / 0.5489 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3781, allocations: 3.875 kB / 0.5489 GB, free: 11.65 MB / 398.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.0001759/0.3782, allocations: 191.4 kB / 0.5491 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3783, allocations: 20.44 kB / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.3783, allocations: 11.98 kB / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3783, allocations: 0 / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3783, allocations: 0 / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3783, allocations: 5.656 kB / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3784, allocations: 131.2 kB / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3784, allocations: 0 / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3784, allocations: 0 / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3784, allocations: 9.344 kB / 0.5492 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3784, allocations: 4.25 kB / 0.5492 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3784, allocations: 0 / 0.5492 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3784, allocations: 0 / 0.5492 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.3791, allocations: 0.5154 MB / 0.5498 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.3791, allocations: 20.12 kB / 0.5498 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.3791, allocations: 8.438 kB / 0.5498 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.3792, allocations: 7.531 kB / 0.5498 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.3792, allocations: 2.125 kB / 0.5498 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3792, allocations: 4.594 kB / 0.5498 GB, free: 11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.3793, allocations: 109.5 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3793, allocations: 0 / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3796, allocations: 41.22 kB / 0.5499 GB, free: 10.91 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.0002054/0.3798, allocations: 116 kB / 0.55 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.3805, allocations: 0.4987 MB / 0.5505 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3805, allocations: 64 / 0.5505 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.3808, allocations: 295.1 kB / 0.5508 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3811, allocations: 23.39 kB / 0.5508 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.3819, allocations: 0.502 MB / 0.5513 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.382, allocations: 105.1 kB / 0.5514 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.306e-05/0.3821, allocations: 9.406 kB / 0.5514 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.3821, allocations: 12.62 kB / 0.5514 GB, free: 9.973 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3821, allocations: 0 / 0.5514 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Templates: time 0.00569/0.3878, allocations: 2.112 MB / 0.5535 GB, free: 8.613 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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: 5.368402145802975]