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.00137/0.00137, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001705/0.001705, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 18.57 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.9305/0.9305, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1151/0.1151, allocations: 29.44 MB / 292 MB, free: 2.703 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="Time|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="Time|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.323e-06/1.323e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.191e-05, allocations: 5.266 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00174/0.001752, allocations: 2.214 MB / 373.1 MB, free: 30.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004759/0.002228, allocations: 0.5338 MB / 373.7 MB, free: 29.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.002265, allocations: 4 kB / 373.7 MB, free: 29.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.002422, allocations: 7.922 kB / 373.7 MB, free: 29.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.00249, allocations: 35.77 kB / 373.7 MB, free: 29.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.002736, allocations: 79.67 kB / 373.8 MB, free: 29.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.002824, allocations: 67.7 kB / 373.8 MB, free: 29.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.002859, allocations: 3.984 kB / 373.8 MB, free: 29.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.002962, allocations: 39.89 kB / 373.9 MB, free: 29.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.003001, allocations: 27.91 kB / 373.9 MB, free: 29.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.003008, allocations: 0 / 373.9 MB, free: 29.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.003133, allocations: 107.7 kB / 374 MB, free: 29.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.003162, allocations: 11.94 kB / 374 MB, free: 29.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.003178, allocations: 7.938 kB / 374 MB, free: 29.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003291, allocations: 107.7 kB / 374.1 MB, free: 29.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003293, allocations: 0 / 374.1 MB, free: 29.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003293, allocations: 4 kB / 374.1 MB, free: 29.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.003296, allocations: 4 kB / 374.1 MB, free: 29.04 MB / 314.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.0001927/0.003489, allocations: 402.1 kB / 374.5 MB, free: 28.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.575e-05/0.003515, allocations: 11.97 kB / 374.6 MB, free: 28.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.003538, allocations: 8.891 kB / 374.6 MB, free: 28.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.003616, allocations: 128.5 kB / 374.7 MB, free: 28.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-06/0.003622, allocations: 384 / 374.7 MB, free: 28.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-06/0.003627, allocations: 384 / 374.7 MB, free: 28.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.311e-05/0.00368, allocations: 71.95 kB / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.003686, allocations: 7.922 kB / 374.8 MB, free: 28.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.003691, allocations: 0 / 374.8 MB, free: 28.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.003695, allocations: 8 kB / 374.8 MB, free: 28.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.398e-05/0.003709, allocations: 41.62 kB / 374.8 MB, free: 28.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.148e-05/0.00376, allocations: 97.2 kB / 374.9 MB, free: 28.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.504e-05/0.003795, allocations: 68.75 kB / 375 MB, free: 28.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.003812, allocations: 45.41 kB / 375 MB, free: 28.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-06/0.003814, allocations: 0 / 375 MB, free: 28.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.003827, allocations: 37.39 kB / 375.1 MB, free: 27.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 5.41e-07/0.003828, allocations: 0 / 375.1 MB, free: 27.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001114/0.003939, allocations: 170.8 kB / 375.2 MB, free: 27.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.003957, allocations: 89.05 kB / 375.3 MB, free: 27.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.052e-05/0.003998, allocations: 173.8 kB / 375.5 MB, free: 27.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.004003, allocations: 29.7 kB / 375.5 MB, free: 27.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.587e-05/0.004018, allocations: 138.9 kB / 375.6 MB, free: 27.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.004043, allocations: 31.73 kB / 375.7 MB, free: 27.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.004062, allocations: 23.36 kB / 375.7 MB, free: 27.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.004099, allocations: 0.4884 MB / 376.2 MB, free: 26.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.004114, allocations: 41.69 kB / 376.2 MB, free: 26.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.004126, allocations: 37.7 kB / 376.3 MB, free: 26.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.00416, allocations: 91.06 kB / 376.4 MB, free: 26.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004162, allocations: 3.984 kB / 376.4 MB, free: 26.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.422e-05/0.004226, allocations: 125.3 kB / 376.5 MB, free: 26.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.004256, allocations: 45.75 kB / 376.5 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.004259, allocations: 0 / 376.5 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/0.004266, allocations: 0 / 376.5 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.004267, allocations: 3.938 kB / 376.5 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.004269, allocations: 3.984 kB / 376.5 MB, free: 26.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.004284, allocations: 8 kB / 376.5 MB, free: 26.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.004295, allocations: 11.98 kB / 376.6 MB, free: 26.34 MB / 314.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 4.231e-05/0.004337, allocations: 190.3 kB / 376.7 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.004346, allocations: 11.95 kB / 376.8 MB, free: 26.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-06/0.004356, allocations: 4.438 kB / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004357, allocations: 4 kB / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.004359, allocations: 3.938 kB / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.004361, allocations: 0 / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.112e-05/0.004402, allocations: 109.2 kB / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-07/0.004402, allocations: 0 / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.004403, allocations: 0 / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4e-07/0.004403, allocations: 0 / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.004408, allocations: 4 kB / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-07/0.004409, allocations: 0 / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004409, allocations: 3.938 kB / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.004491, allocations: 187.7 kB / 377.1 MB, free: 25.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.004498, allocations: 7.984 kB / 377.1 MB, free: 25.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.004506, allocations: 4 kB / 377.1 MB, free: 25.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.004514, allocations: 4 kB / 377.1 MB, free: 25.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.004525, allocations: 4 kB / 377.1 MB, free: 25.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.004528, allocations: 3.938 kB / 377.1 MB, free: 25.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.974e-05/0.004548, allocations: 143.1 kB / 377.2 MB, free: 25.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004548, allocations: 0 / 377.2 MB, free: 25.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.004685, allocations: 27.94 kB / 377.3 MB, free: 25.57 MB / 314.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 8.374e-05/0.004769, allocations: 111.2 kB / 377.4 MB, free: 25.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.004858, allocations: 174.4 kB / 377.5 MB, free: 25.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.004859, allocations: 0 / 377.5 MB, free: 25.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.004888, allocations: 116.8 kB / 377.6 MB, free: 25.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.005005, allocations: 15.98 kB / 377.7 MB, free: 25.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.005192, allocations: 209.2 kB / 377.9 MB, free: 24.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.835e-05/0.005211, allocations: 63.28 kB / 377.9 MB, free: 24.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.448e-06/0.00522, allocations: 4 kB / 377.9 MB, free: 24.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.005285, allocations: 102.2 kB / 378 MB, free: 24.67 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.005285, allocations: 0 / 378 MB, free: 24.67 MB / 314.7 MB Notification: Performance of Templates: time 0.002147/0.007433, allocations: 1.258 MB / 379.3 MB, free: 23.44 MB / 314.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 -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.9105718550272286]