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.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.001329/0.001329, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003185, allocations: 449.7 kB / 10.37 MB, free: 328 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.001175/0.001175, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002708, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9243/0.9243, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07467/0.9989, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.13/0.13, allocations: 29.43 MB / 273.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/0.2336, allocations: 9.536 MB / 283 MB, free: 12.85 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_matrixEqCirc0,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_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,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_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.335e-05, allocations: 3.469 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002214/0.002228, allocations: 2.283 MB / 286.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005686/0.002796, allocations: 0.5523 MB / 287.1 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.002834, allocations: 5.156 kB / 287.1 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.22e-05/0.002906, allocations: 17.95 kB / 287.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.002972, allocations: 30.77 kB / 287.1 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003189, allocations: 70.11 kB / 287.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.0033, allocations: 70.91 kB / 287.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.003335, allocations: 6.875 kB / 287.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.00345, allocations: 50.98 kB / 287.3 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.003495, allocations: 28.14 kB / 287.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.003503, allocations: 1.562 kB / 287.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.003656, allocations: 92.27 kB / 287.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.003687, allocations: 12.83 kB / 287.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.003704, allocations: 5.156 kB / 287.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.003837, allocations: 93 kB / 287.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.003851, allocations: 1.188 kB / 287.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003852, allocations: 0 / 287.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.003866, allocations: 0 / 287.6 MB, free: 9.359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003223/0.004188, allocations: 293.8 kB / 287.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.004221, allocations: 16.89 kB / 287.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.004251, allocations: 3.188 kB / 287.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004372, allocations: 121.5 kB / 288 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.004379, allocations: 1.469 kB / 288 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.004385, allocations: 1.656 kB / 288 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.004484, allocations: 85.45 kB / 288.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004492, allocations: 3.938 kB / 288.1 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.004499, allocations: 1.062 kB / 288.1 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.004503, allocations: 0 / 288.1 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.00453, allocations: 43.12 kB / 288.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.027e-05/0.004591, allocations: 69.84 kB / 288.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.004637, allocations: 54.47 kB / 288.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.004664, allocations: 48.36 kB / 288.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-06/0.004666, allocations: 0 / 288.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.004685, allocations: 35.91 kB / 288.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 6.52e-07/0.004686, allocations: 1.438 kB / 288.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001378/0.004823, allocations: 172.1 kB / 288.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.004847, allocations: 55.34 kB / 288.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.004907, allocations: 114.5 kB / 288.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.004917, allocations: 25.7 kB / 288.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.004941, allocations: 86.97 kB / 288.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.004973, allocations: 26.53 kB / 288.8 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.004999, allocations: 19.05 kB / 288.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.005073, allocations: 321.4 kB / 289.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.005107, allocations: 45.61 kB / 289.2 MB, free: 7.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.005132, allocations: 41.98 kB / 289.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.0052, allocations: 112.4 kB / 289.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005202, allocations: 0 / 289.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.656e-05/0.005278, allocations: 118.6 kB / 289.4 MB, free: 7.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.005319, allocations: 44.34 kB / 289.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005324, allocations: 0 / 289.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.005332, allocations: 1.75 kB / 289.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-06/0.005337, allocations: 3.938 kB / 289.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.00534, allocations: 3.938 kB / 289.5 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.00536, allocations: 5.766 kB / 289.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.005375, allocations: 7.422 kB / 289.5 MB, free: 7.453 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 6.828e-05/0.005443, allocations: 155.1 kB / 289.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.005453, allocations: 10.22 kB / 289.7 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/0.005466, allocations: 5.594 kB / 289.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005468, allocations: 1.656 kB / 289.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.005471, allocations: 7.922 kB / 289.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005474, allocations: 0 / 289.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.524e-05/0.005529, allocations: 71.86 kB / 289.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005529, allocations: 1.344 kB / 289.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.00553, allocations: 0 / 289.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.005538, allocations: 6.734 kB / 289.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00554, allocations: 3.984 kB / 289.8 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.005547, allocations: 10.66 kB / 289.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005547, allocations: 320 / 289.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005548, allocations: 1.312 kB / 289.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.005672, allocations: 175.4 kB / 289.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005683, allocations: 2.375 kB / 289.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-06/0.005693, allocations: 1.281 kB / 289.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.005705, allocations: 9.484 kB / 290 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.00571, allocations: 2.281 kB / 290 MB, free: 7.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.005734, allocations: 20.09 kB / 290 MB, free: 7.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005734, allocations: 0 / 290 MB, free: 7.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.005881, allocations: 32.84 kB / 290 MB, free: 6.996 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.0001111/0.005992, allocations: 99.95 kB / 290.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.006122, allocations: 172.7 kB / 290.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.006125, allocations: 1.281 kB / 290.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.006178, allocations: 122.7 kB / 290.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.006289, allocations: 15 kB / 290.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.006738, allocations: 227.1 kB / 290.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.006768, allocations: 67.53 kB / 290.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.197e-05/0.00678, allocations: 3.984 kB / 290.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.006864, allocations: 81.33 kB / 290.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of SimCode: time 4.9e-07/0.006864, allocations: 0 / 290.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of Templates: time 0.002513/0.009377, allocations: 1.236 MB / 292 MB, free: 5.711 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6354984045028687]