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.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.00101/0.00101, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002502, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001046/0.001046, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002437, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.9627/0.9627, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08271/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1132/0.1132, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1224/0.2356, allocations: 9.537 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.226e-05, allocations: 3.844 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003232/0.003244, allocations: 2.3 MB / 286.8 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.004096, allocations: 0.5591 MB / 287.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.00414, allocations: 5.031 kB / 287.3 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.004207, allocations: 9.359 kB / 287.3 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.902e-05/0.004296, allocations: 26.78 kB / 287.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.004585, allocations: 77.88 kB / 287.4 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.004709, allocations: 58.8 kB / 287.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.004749, allocations: 14.33 kB / 287.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.004904, allocations: 50.58 kB / 287.5 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.004955, allocations: 20.39 kB / 287.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.004965, allocations: 1.781 kB / 287.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.005178, allocations: 98.55 kB / 287.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.005221, allocations: 17.09 kB / 287.7 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.005242, allocations: 10.16 kB / 287.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.005416, allocations: 96.55 kB / 287.8 MB, free: 9.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.005427, allocations: 1.5 kB / 287.8 MB, free: 9.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005427, allocations: 0 / 287.8 MB, free: 9.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.005436, allocations: 0 / 287.8 MB, free: 9.258 MB / 282.7 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.000342/0.005778, allocations: 319.2 kB / 288.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005811, allocations: 8.938 kB / 288.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.005845, allocations: 4.125 kB / 288.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005978, allocations: 123 kB / 288.2 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.005985, allocations: 384 / 288.2 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.005994, allocations: 2.344 kB / 288.2 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006112, allocations: 87.64 kB / 288.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.006119, allocations: 3.938 kB / 288.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.006126, allocations: 0.875 kB / 288.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.006131, allocations: 0 / 288.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.006176, allocations: 54.23 kB / 288.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.408e-05/0.006251, allocations: 70.44 kB / 288.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.047e-05/0.006321, allocations: 63.95 kB / 288.5 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.006365, allocations: 54.52 kB / 288.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.006371, allocations: 5.125 kB / 288.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.006394, allocations: 31.81 kB / 288.6 MB, free: 8.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 8.31e-07/0.006395, allocations: 0 / 288.6 MB, free: 8.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002151/0.00661, allocations: 199 kB / 288.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.006644, allocations: 56.59 kB / 288.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.006722, allocations: 120.9 kB / 289 MB, free: 8.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.006736, allocations: 26.77 kB / 289 MB, free: 8.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.006765, allocations: 90.47 kB / 289.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.006809, allocations: 40.02 kB / 289.1 MB, free: 7.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.006847, allocations: 24.36 kB / 289.1 MB, free: 7.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.006934, allocations: 321.1 kB / 289.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.006986, allocations: 55.8 kB / 289.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.007025, allocations: 52.05 kB / 289.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.007128, allocations: 121.6 kB / 289.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00713, allocations: 1.062 kB / 289.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001322/0.007262, allocations: 135.4 kB / 289.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.007317, allocations: 57.36 kB / 289.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007321, allocations: 4.062 kB / 289.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.007329, allocations: 0 / 289.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.007331, allocations: 0 / 289.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007335, allocations: 3.938 kB / 289.9 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.007364, allocations: 11.36 kB / 289.9 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.00738, allocations: 3.25 kB / 289.9 MB, free: 7.301 MB / 282.7 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.904e-05/0.00748, allocations: 162.3 kB / 290.1 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.0075, allocations: 12.52 kB / 290.1 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.007515, allocations: 9.766 kB / 290.1 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007517, allocations: 1.438 kB / 290.1 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.00752, allocations: 7.938 kB / 290.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007523, allocations: 0 / 290.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.608e-05/0.007599, allocations: 69.98 kB / 290.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0076, allocations: 0 / 290.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-06/0.007603, allocations: 5.219 kB / 290.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.007613, allocations: 6.672 kB / 290.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007615, allocations: 0 / 290.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.007624, allocations: 3.406 kB / 290.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007625, allocations: 0 / 290.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007626, allocations: 0 / 290.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.007828, allocations: 216.3 kB / 290.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007843, allocations: 5.75 kB / 290.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.007863, allocations: 3.781 kB / 290.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.007874, allocations: 0 / 290.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.007882, allocations: 7.469 kB / 290.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.274e-05/0.007905, allocations: 25.94 kB / 290.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007905, allocations: 0 / 290.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.008115, allocations: 35.62 kB / 290.5 MB, free: 6.832 MB / 282.7 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.0001399/0.008255, allocations: 97.08 kB / 290.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.008453, allocations: 200.5 kB / 290.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.008461, allocations: 1.469 kB / 290.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.008609, allocations: 203.3 kB / 290.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.008768, allocations: 96.22 kB / 291 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.009458, allocations: 260.1 kB / 291.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.009499, allocations: 64.97 kB / 291.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.009516, allocations: 1.375 kB / 291.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.009618, allocations: 71.8 kB / 291.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009619, allocations: 4.094 kB / 291.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Templates: time 0.003121/0.01274, allocations: 1.506 MB / 292.9 MB, free: 5.258 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.576367133297026]