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.00106/0.00106, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002618, 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.001071/0.001071, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.00248, 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.9643/0.9643, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08332/1.048, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/0.225, allocations: 9.537 MB / 283.2 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_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.292e-06/1.292e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.436e-05, allocations: 3.297 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002295/0.002309, allocations: 2.288 MB / 286.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005779/0.002887, allocations: 0.572 MB / 287.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.002922, allocations: 0 / 287.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-05/0.002992, allocations: 15.08 kB / 287.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.003063, allocations: 22.41 kB / 287.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.003285, allocations: 74.59 kB / 287.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003385, allocations: 66.09 kB / 287.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.003417, allocations: 6.375 kB / 287.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.003535, allocations: 59.36 kB / 287.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.00358, allocations: 28.86 kB / 287.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.003589, allocations: 1.25 kB / 287.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.003745, allocations: 87.45 kB / 287.7 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.003782, allocations: 9.719 kB / 287.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.003799, allocations: 8.312 kB / 287.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003937, allocations: 94.23 kB / 287.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.003948, allocations: 0 / 287.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003949, allocations: 0.9062 kB / 287.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.003958, allocations: 0 / 287.8 MB, free: 9.277 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.0003066/0.004264, allocations: 300.5 kB / 288.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.004297, allocations: 9.531 kB / 288.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.004328, allocations: 4.312 kB / 288.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.004453, allocations: 121.4 kB / 288.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.00446, allocations: 384 / 288.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.004469, allocations: 1.469 kB / 288.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.004559, allocations: 77.78 kB / 288.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004566, allocations: 5.25 kB / 288.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.004571, allocations: 0 / 288.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.004576, allocations: 0 / 288.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.004603, allocations: 47.44 kB / 288.3 MB, free: 8.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.591e-05/0.004659, allocations: 69.94 kB / 288.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.004706, allocations: 58.33 kB / 288.5 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.004731, allocations: 47.98 kB / 288.5 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-06/0.004734, allocations: 5.156 kB / 288.5 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.004752, allocations: 31.56 kB / 288.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 6.72e-07/0.004753, allocations: 0 / 288.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001391/0.004892, allocations: 165.3 kB / 288.7 MB, free: 8.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.004913, allocations: 59.33 kB / 288.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.004978, allocations: 118.1 kB / 288.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.004987, allocations: 27.02 kB / 288.9 MB, free: 8.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.005006, allocations: 93.47 kB / 289 MB, free: 8.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.005037, allocations: 22.92 kB / 289 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.005065, allocations: 26.88 kB / 289 MB, free: 8.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.005131, allocations: 317.1 kB / 289.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.00516, allocations: 46.11 kB / 289.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.005183, allocations: 41.91 kB / 289.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.005243, allocations: 107.3 kB / 289.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005244, allocations: 0 / 289.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.487e-05/0.005319, allocations: 119.9 kB / 289.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.005356, allocations: 44.44 kB / 289.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.00536, allocations: 64 / 289.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.00537, allocations: 4 kB / 289.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.005371, allocations: 1.188 kB / 289.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.005375, allocations: 3.938 kB / 289.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.005393, allocations: 10.36 kB / 289.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.005408, allocations: 2.75 kB / 289.7 MB, free: 7.367 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.594e-05/0.005474, allocations: 151.3 kB / 289.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.005485, allocations: 15.59 kB / 289.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.005498, allocations: 9.906 kB / 289.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005499, allocations: 0 / 289.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005501, allocations: 3.938 kB / 289.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005503, allocations: 4 kB / 289.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.908e-05/0.005552, allocations: 72.44 kB / 290 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005554, allocations: 2.125 kB / 290 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.005555, allocations: 0 / 290 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.005562, allocations: 9.016 kB / 290 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005564, allocations: 1.812 kB / 290 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.005569, allocations: 1.812 kB / 290 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.00557, allocations: 0 / 290 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00557, allocations: 0 / 290 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.005683, allocations: 180.2 kB / 290.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.005692, allocations: 1.594 kB / 290.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-06/0.005701, allocations: 10.62 kB / 290.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.005711, allocations: 5.406 kB / 290.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.005716, allocations: 2.812 kB / 290.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.488e-05/0.005731, allocations: 23.27 kB / 290.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005731, allocations: 0 / 290.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.005856, allocations: 32.22 kB / 290.2 MB, free: 6.902 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.0001205/0.005976, allocations: 92.31 kB / 290.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.006103, allocations: 176.8 kB / 290.5 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.006106, allocations: 2.094 kB / 290.5 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.006185, allocations: 177.6 kB / 290.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.006308, allocations: 71.06 kB / 290.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.006759, allocations: 224.9 kB / 291 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.006789, allocations: 62.22 kB / 291 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.165e-05/0.006801, allocations: 1.375 kB / 291 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.006878, allocations: 67.95 kB / 291.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006878, allocations: 4 kB / 291.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of Templates: time 0.002558/0.009437, allocations: 1.231 MB / 292.3 MB, free: 5.52 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6204047705978155]