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.001034/0.001034, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002584, 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.001058/0.001058, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002469, allocations: 479.5 kB / 11.82 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.981/0.981, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08155/1.063, allocations: 53.66 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.1172/0.1172, allocations: 29.45 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1837/0.3009, allocations: 9.538 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_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.753e-06/1.753e-06, allocations: 1.062 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.081e-05, allocations: 7.719 kB / 284.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002907/0.002917, allocations: 2.344 MB / 286.8 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.005647, allocations: 1.984 MB / 288.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.005691, allocations: 1.156 kB / 288.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/0.005787, allocations: 10.33 kB / 288.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.005856, allocations: 29.83 kB / 288.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.007134, allocations: 0.8749 MB / 289.7 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.007228, allocations: 75.5 kB / 289.8 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.007261, allocations: 14.91 kB / 289.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.007369, allocations: 57.14 kB / 289.9 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.007427, allocations: 33.73 kB / 289.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.007436, allocations: 2.594 kB / 289.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.009288, allocations: 1.835 MB / 291.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.009324, allocations: 18.09 kB / 291.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.009346, allocations: 12.34 kB / 291.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.01039, allocations: 1.252 MB / 293 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.0104, allocations: 3.938 kB / 293 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.0104, allocations: 0 / 293 MB, free: 6.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.01041, allocations: 1 kB / 293 MB, free: 6.062 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.0004631/0.01087, allocations: 0.4989 MB / 293.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.0109, allocations: 16.02 kB / 293.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.01093, allocations: 0.9375 kB / 293.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.01104, allocations: 137.6 kB / 293.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.01105, allocations: 15.86 kB / 293.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.01106, allocations: 4 kB / 293.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.01115, allocations: 82.2 kB / 293.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.01116, allocations: 0 / 293.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.01116, allocations: 4 kB / 293.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.01117, allocations: 0 / 293.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.0112, allocations: 53.69 kB / 293.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.699e-05/0.01126, allocations: 59.83 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.0113, allocations: 72.2 kB / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.01133, allocations: 51.78 kB / 294 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.01134, allocations: 8 kB / 294 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.01136, allocations: 38.5 kB / 294 MB, free: 4.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 5.01e-07/0.01136, allocations: 0 / 294 MB, free: 4.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001574/0.01151, allocations: 190.8 kB / 294.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.01153, allocations: 59.56 kB / 294.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.01161, allocations: 130.7 kB / 294.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.01162, allocations: 29.64 kB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.01164, allocations: 92.11 kB / 294.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01167, allocations: 35.59 kB / 294.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.0117, allocations: 29.69 kB / 294.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.0118, allocations: 330.8 kB / 294.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.01183, allocations: 52.52 kB / 295 MB, free: 3.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.01186, allocations: 46.23 kB / 295 MB, free: 3.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.01192, allocations: 123.5 kB / 295.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01192, allocations: 0 / 295.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.387e-05/0.01201, allocations: 152.9 kB / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.01204, allocations: 41.69 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01205, allocations: 4 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.01206, allocations: 0 / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.01206, allocations: 0 / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01206, allocations: 0 / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.01209, allocations: 8.062 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01211, allocations: 7.984 kB / 295.3 MB, free: 3.559 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.155e-05/0.01217, allocations: 154.4 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.01218, allocations: 19.86 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.01219, allocations: 4.781 kB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01219, allocations: 0 / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.0122, allocations: 8 kB / 295.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.0122, allocations: 0 / 295.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.713e-05/0.01225, allocations: 77.83 kB / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.01225, allocations: 0 / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.01225, allocations: 4 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.01226, allocations: 11.89 kB / 295.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.778e-05/0.01232, allocations: 7.922 kB / 295.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.01233, allocations: 4 kB / 295.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.01233, allocations: 0 / 295.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.01233, allocations: 0 / 295.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01246, allocations: 206.6 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.01247, allocations: 7.984 kB / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.01248, allocations: 7.938 kB / 295.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.0125, allocations: 4 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.0125, allocations: 4 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.889e-05/0.01252, allocations: 30.42 kB / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01252, allocations: 0 / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.01289, allocations: 319.4 kB / 296.2 MB, free: 2.629 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.0006023/0.0135, allocations: 429.8 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.01366, allocations: 207.6 kB / 296.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01366, allocations: 0 / 296.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.01376, allocations: 203.5 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.01386, allocations: 45.69 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.01476, allocations: 297.1 kB / 297.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.227e-05/0.0148, allocations: 71.33 kB / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.0148, allocations: 0 / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.01486, allocations: 67.47 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01486, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of Templates: time 0.007465/0.02233, allocations: 7.63 MB / 305.1 MB, free: 9.613 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.922800441272557]