Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.0007593/0.0007593, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001835, 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.00098/0.00098, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.002033, 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.9601/0.9601, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07769/1.038, allocations: 53.65 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.1133/0.1133, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/0.2356, allocations: 9.525 MB / 283 MB, free: 12.86 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_matrixTrDat1,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_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,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_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.162e-05, allocations: 3.625 kB / 284.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002269/0.00228, allocations: 2.329 MB / 286.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.004322, allocations: 1.981 MB / 288.6 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.00436, allocations: 1.438 kB / 288.6 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.794e-05/0.004418, allocations: 17 kB / 288.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.004478, allocations: 26.69 kB / 288.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.005915, allocations: 0.8741 MB / 289.5 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.859e-05/0.006014, allocations: 71.17 kB / 289.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.006047, allocations: 11.77 kB / 289.6 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.006164, allocations: 57.97 kB / 289.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.006225, allocations: 37.61 kB / 289.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.006235, allocations: 1.531 kB / 289.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.008381, allocations: 1.835 MB / 291.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.008421, allocations: 21.58 kB / 291.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.008447, allocations: 12.88 kB / 291.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.009624, allocations: 1.251 MB / 292.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.009635, allocations: 1.125 kB / 292.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009635, allocations: 0 / 292.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.009648, allocations: 0 / 292.8 MB, free: 6.148 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.0005263/0.01017, allocations: 0.5091 MB / 293.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.469e-05/0.0102, allocations: 8.031 kB / 293.3 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.01023, allocations: 4.938 kB / 293.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.01034, allocations: 133.6 kB / 293.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.01035, allocations: 3.938 kB / 293.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.01035, allocations: 0 / 293.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.01045, allocations: 90.97 kB / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.01045, allocations: 0 / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.01046, allocations: 0 / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.01046, allocations: 0 / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.01049, allocations: 49.69 kB / 293.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.877e-05/0.01055, allocations: 71.83 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/0.0106, allocations: 68.2 kB / 293.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.01063, allocations: 54.58 kB / 293.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-06/0.01063, allocations: 0 / 293.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.01066, allocations: 38.5 kB / 293.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 4.71e-07/0.01066, allocations: 0 / 293.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.000155/0.01081, allocations: 203.8 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.01083, allocations: 51.41 kB / 294 MB, free: 4.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.01089, allocations: 132.4 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.0109, allocations: 29.64 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.01092, allocations: 92.16 kB / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.01096, allocations: 47.56 kB / 294.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.01098, allocations: 17.72 kB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.01105, allocations: 322.8 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.01108, allocations: 56.52 kB / 294.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.0111, allocations: 49.69 kB / 294.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.863e-05/0.01117, allocations: 127.6 kB / 294.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01117, allocations: 0 / 294.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.383e-05/0.01126, allocations: 145 kB / 295 MB, free: 3.746 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.0113, allocations: 49.67 kB / 295.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0113, allocations: 4.062 kB / 295.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.01131, allocations: 0 / 295.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-06/0.01131, allocations: 3.938 kB / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.01131, allocations: 0 / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.01135, allocations: 8 kB / 295.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01136, allocations: 4 kB / 295.1 MB, free: 3.672 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.468e-05/0.01143, allocations: 158.3 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.01144, allocations: 11.94 kB / 295.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.01145, allocations: 16.75 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.01145, allocations: 0 / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.01145, allocations: 0 / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.01146, allocations: 4 kB / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.882e-05/0.01151, allocations: 81.83 kB / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.01151, allocations: 0 / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.01151, allocations: 0 / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.01151, allocations: 11.89 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01152, allocations: 3.938 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.01152, allocations: 0 / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.01152, allocations: 4 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01152, allocations: 0 / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.01165, allocations: 215.9 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.01166, allocations: 0 / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.01168, allocations: 11.97 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.01169, allocations: 4 kB / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.01169, allocations: 3.938 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.691e-05/0.01171, allocations: 26.56 kB / 295.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01171, allocations: 0 / 295.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.01221, allocations: 327.4 kB / 296 MB, free: 2.738 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.0005648/0.01278, allocations: 417.1 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.01292, allocations: 203.5 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.01293, allocations: 7.984 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.01299, allocations: 137.9 kB / 296.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.735e-05/0.01308, allocations: 16 kB / 296.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.01387, allocations: 306.5 kB / 297 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.0139, allocations: 67.33 kB / 297.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.09e-05/0.01391, allocations: 4 kB / 297.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.01398, allocations: 67.38 kB / 297.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01398, allocations: 0 / 297.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.008032/0.02202, allocations: 7.586 MB / 304.8 MB, free: 9.867 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.923190012574196]