Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001345/0.001345, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001587/0.001587, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 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.491/1.491, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1851/0.1851, allocations: 38.55 MB / 346.3 MB, free: 2.113 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_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4085, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00385/0.4124, allocations: 2.14 MB / 0.5351 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.4132, allocations: 0.5351 MB / 0.5357 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.4132, allocations: 3.938 kB / 0.5357 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.4134, allocations: 12.53 kB / 0.5357 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.4135, allocations: 29.5 kB / 0.5357 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.4139, allocations: 82.72 kB / 0.5358 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.414, allocations: 55.27 kB / 0.5358 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.4141, allocations: 5.938 kB / 0.5358 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.4142, allocations: 44.02 kB / 0.5359 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.4142, allocations: 29.23 kB / 0.5359 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4142, allocations: 0 / 0.5359 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.4145, allocations: 125 kB / 0.536 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.4145, allocations: 13.42 kB / 0.536 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.4146, allocations: 17.38 kB / 0.5361 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.4148, allocations: 102.5 kB / 0.5362 GB, free: 3.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4148, allocations: 4 kB / 0.5362 GB, free: 3.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4148, allocations: 3.938 kB / 0.5362 GB, free: 3.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.4148, allocations: 1.094 kB / 0.5362 GB, free: 3.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003327/0.4151, allocations: 313.5 kB / 0.5365 GB, free: 3.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4152, allocations: 9.125 kB / 0.5365 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.4152, allocations: 3.719 kB / 0.5365 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.4153, allocations: 124 kB / 0.5366 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4153, allocations: 1.594 kB / 0.5366 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.4154, allocations: 4.719 kB / 0.5366 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4155, allocations: 55.09 kB / 0.5367 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4155, allocations: 0 / 0.5367 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4155, allocations: 1.344 kB / 0.5367 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4155, allocations: 0 / 0.5367 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.4155, allocations: 21.95 kB / 0.5367 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.4156, allocations: 131.6 kB / 0.5368 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.4157, allocations: 38.84 kB / 0.5368 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.4157, allocations: 30.78 kB / 0.5369 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.4157, allocations: 5.406 kB / 0.5369 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4158, allocations: 34.5 kB / 0.5369 GB, free: 2.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.4158, allocations: 1.062 kB / 0.5369 GB, free: 2.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002346/0.416, allocations: 140 kB / 0.537 GB, free: 2.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.416, allocations: 87.42 kB / 0.5371 GB, free: 2.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.4161, allocations: 114.2 kB / 0.5372 GB, free: 2.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.4161, allocations: 26.73 kB / 0.5373 GB, free: 2.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.4161, allocations: 93.12 kB / 0.5373 GB, free: 2.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.4162, allocations: 27.38 kB / 0.5374 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.4162, allocations: 19.64 kB / 0.5374 GB, free: 2.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.4162, allocations: 321.1 kB / 0.5377 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.4163, allocations: 18.77 kB / 0.5377 GB, free: 1.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.4163, allocations: 25.98 kB / 0.5377 GB, free: 1.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.228e-05/0.4164, allocations: 125.4 kB / 0.5379 GB, free: 1.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4164, allocations: 0 / 0.5379 GB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001246/0.4165, allocations: 124.8 kB / 0.538 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.4166, allocations: 44.12 kB / 0.538 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4166, allocations: 5.484 kB / 0.538 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4166, allocations: 0 / 0.538 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.4166, allocations: 0 / 0.538 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4166, allocations: 1.312 kB / 0.538 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.4166, allocations: 1.406 kB / 0.538 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.4166, allocations: 2.844 kB / 0.538 GB, free: 1.637 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 8.631e-05/0.4167, allocations: 157.7 kB / 0.5382 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.4167, allocations: 8.047 kB / 0.5382 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.425e-05/0.4167, allocations: 13.61 kB / 0.5382 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4168, allocations: 5.234 kB / 0.5382 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4168, allocations: 3.938 kB / 0.5382 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4168, allocations: 0 / 0.5382 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.143e-05/0.4168, allocations: 145.5 kB / 0.5383 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4168, allocations: 1.562 kB / 0.5383 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4168, allocations: 0 / 0.5383 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4168, allocations: 4 kB / 0.5384 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4168, allocations: 3.125 kB / 0.5384 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.4168, allocations: 0 / 0.5384 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4168, allocations: 4 kB / 0.5384 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.417, allocations: 218.5 kB / 0.5386 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.4171, allocations: 6.703 kB / 0.5386 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4171, allocations: 2.75 kB / 0.5386 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.4171, allocations: 1.375 kB / 0.5386 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.4171, allocations: 1.375 kB / 0.5386 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4171, allocations: 2.75 kB / 0.5386 GB, free: 1.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.4171, allocations: 95.86 kB / 0.5387 GB, free: 1.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4171, allocations: 7.938 kB / 0.5387 GB, free: 1.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.4174, allocations: 27.31 kB / 0.5387 GB, free: 1.02 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.0001676/0.4175, allocations: 114.5 kB / 0.5388 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.4178, allocations: 171.1 kB / 0.539 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4178, allocations: 0 / 0.539 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.4179, allocations: 119.5 kB / 0.5391 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.4181, allocations: 9.438 kB / 0.5391 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.4185, allocations: 219.9 kB / 0.5393 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.4187, allocations: 0.6902 MB / 0.54 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.373e-05/0.4187, allocations: 1.375 kB / 0.54 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.4187, allocations: 8.812 kB / 0.54 GB, free: 15.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4187, allocations: 0 / 0.54 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004675/0.4234, allocations: 1.126 MB / 0.5411 GB, free: 15.3 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.242994255386293]