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.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.001992/0.001992, 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.002227/0.002227, allocations: 214.3 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.631/1.631, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2072/0.2072, allocations: 38.54 MB / 352.5 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 179] 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_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: 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.002109/0.002109, allocations: 63.91 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.0034/0.3764, allocations: 2.145 MB / 0.5445 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008934/0.3773, allocations: 0.5219 MB / 0.545 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.3773, allocations: 1.312 kB / 0.545 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.3774, allocations: 10.7 kB / 0.545 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.3775, allocations: 26.39 kB / 0.5451 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.3779, allocations: 77.5 kB / 0.5451 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3781, allocations: 61.52 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.3781, allocations: 1.812 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3782, allocations: 35.59 kB / 0.5452 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.3783, allocations: 38.08 kB / 0.5453 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3783, allocations: 0 / 0.5453 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.3785, allocations: 100.8 kB / 0.5454 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.3786, allocations: 41.16 kB / 0.5454 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.3786, allocations: 34.47 kB / 0.5454 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3789, allocations: 150.7 kB / 0.5456 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3789, allocations: 0 / 0.5456 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3789, allocations: 1.125 kB / 0.5456 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3789, allocations: 0 / 0.5456 GB, free: 14 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005047/0.3794, allocations: 407.8 kB / 0.546 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3794, allocations: 13.83 kB / 0.546 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.3795, allocations: 20.98 kB / 0.546 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3797, allocations: 152 kB / 0.5462 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3797, allocations: 5.125 kB / 0.5462 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3797, allocations: 1.094 kB / 0.5462 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.38, allocations: 226.9 kB / 0.5464 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.38, allocations: 0 / 0.5464 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.38, allocations: 1.281 kB / 0.5464 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.38, allocations: 0 / 0.5464 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.3802, allocations: 197.8 kB / 0.5466 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3804, allocations: 126.3 kB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3806, allocations: 216.5 kB / 0.5469 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3809, allocations: 202.2 kB / 0.5471 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3809, allocations: 1.25 kB / 0.5471 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3809, allocations: 35.89 kB / 0.5471 GB, free: 12.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.072e-06/0.3809, allocations: 7.875 kB / 0.5471 GB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008966/0.3818, allocations: 0.7036 MB / 0.5478 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.3819, allocations: 108.6 kB / 0.5479 GB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.382, allocations: 144.4 kB / 0.5481 GB, free: 12.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.382, allocations: 27.17 kB / 0.5481 GB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.3821, allocations: 101 kB / 0.5482 GB, free: 12.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3822, allocations: 132.9 kB / 0.5483 GB, free: 12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3823, allocations: 43.83 kB / 0.5484 GB, free: 11.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3824, allocations: 338.4 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3826, allocations: 197.4 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3828, allocations: 188.4 kB / 0.549 GB, free: 11.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.3833, allocations: 453.6 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3833, allocations: 0 / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004885/0.3837, allocations: 462.2 kB / 0.5499 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.3838, allocations: 87.81 kB / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3838, allocations: 0 / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3839, allocations: 0.875 kB / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3839, allocations: 64 / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3839, allocations: 5.312 kB / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.3839, allocations: 28.38 kB / 0.55 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3839, allocations: 6.438 kB / 0.55 GB, free: 10.94 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.0002177/0.3842, allocations: 233.6 kB / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3842, allocations: 28.83 kB / 0.5503 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3842, allocations: 9.375 kB / 0.5503 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3842, allocations: 3.984 kB / 0.5503 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3842, allocations: 1.125 kB / 0.5503 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3842, allocations: 3.984 kB / 0.5503 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3844, allocations: 146 kB / 0.5504 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3844, allocations: 4 kB / 0.5504 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.3844, allocations: 4.781 kB / 0.5505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.3844, allocations: 0 / 0.5505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3844, allocations: 6.656 kB / 0.5505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3844, allocations: 5.266 kB / 0.5505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3844, allocations: 0 / 0.5505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.3854, allocations: 0.7763 MB / 0.5512 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.3854, allocations: 27.02 kB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3854, allocations: 5.156 kB / 0.5513 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.3855, allocations: 5.656 kB / 0.5513 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3855, allocations: 11.12 kB / 0.5513 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3855, allocations: 6.781 kB / 0.5513 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.3856, allocations: 115.4 kB / 0.5514 GB, free: 10.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3856, allocations: 0 / 0.5514 GB, free: 10.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.3859, allocations: 66.66 kB / 0.5514 GB, free: 10.05 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.0002087/0.3861, allocations: 113.1 kB / 0.5516 GB, free: 9.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009609/0.3871, allocations: 0.766 MB / 0.5523 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3871, allocations: 1.156 kB / 0.5523 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.3876, allocations: 438.9 kB / 0.5527 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3879, allocations: 42.03 kB / 0.5528 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.389, allocations: 0.7326 MB / 0.5535 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3891, allocations: 135.6 kB / 0.5536 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.3892, allocations: 0 / 0.5536 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.3892, allocations: 11.44 kB / 0.5536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3892, allocations: 0 / 0.5536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of Templates: time 0.00694/0.3961, allocations: 2.964 MB / 0.5565 GB, free: 5.363 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: 5.41407635807991]