Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.00118/0.00118, 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.001266/0.001266, allocations: 163 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.9522/0.9522, allocations: 177.1 MB / 206 MB, free: 4.512 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.1183/0.1183, allocations: 29.43 MB / 292 MB, free: 2.707 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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.755e-05, allocations: 2.312 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001903/0.00192, allocations: 2.217 MB / 373.1 MB, free: 30.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.002441, allocations: 0.5338 MB / 373.7 MB, free: 29.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.002482, allocations: 0 / 373.7 MB, free: 29.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.00261, allocations: 11.92 kB / 373.7 MB, free: 29.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.002687, allocations: 31.78 kB / 373.7 MB, free: 29.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.002968, allocations: 79.73 kB / 373.8 MB, free: 29.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.003054, allocations: 59.75 kB / 373.8 MB, free: 29.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.003091, allocations: 19.84 kB / 373.8 MB, free: 29.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003196, allocations: 35.89 kB / 373.9 MB, free: 29.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.003231, allocations: 31.91 kB / 373.9 MB, free: 29.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.003239, allocations: 0 / 373.9 MB, free: 29.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.00337, allocations: 99.72 kB / 374 MB, free: 29.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.003413, allocations: 31.86 kB / 374 MB, free: 29.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.003431, allocations: 11.94 kB / 374.1 MB, free: 29.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003551, allocations: 131.6 kB / 374.2 MB, free: 28.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003552, allocations: 0 / 374.2 MB, free: 28.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.003553, allocations: 0 / 374.2 MB, free: 28.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.003558, allocations: 0 / 374.2 MB, free: 28.99 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002502/0.003808, allocations: 473.6 kB / 374.6 MB, free: 28.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.003848, allocations: 8.031 kB / 374.7 MB, free: 28.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.003889, allocations: 16.84 kB / 374.7 MB, free: 28.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004014, allocations: 140.3 kB / 374.8 MB, free: 28.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004026, allocations: 384 / 374.8 MB, free: 28.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.004034, allocations: 384 / 374.8 MB, free: 28.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.004143, allocations: 91.89 kB / 374.9 MB, free: 28.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.004152, allocations: 3.938 kB / 374.9 MB, free: 28.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.00416, allocations: 0 / 374.9 MB, free: 28.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004167, allocations: 0 / 374.9 MB, free: 28.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.004194, allocations: 57.69 kB / 375 MB, free: 28.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.13e-05/0.004265, allocations: 113.1 kB / 375.1 MB, free: 28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.004306, allocations: 84.73 kB / 375.2 MB, free: 27.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.004328, allocations: 61.42 kB / 375.2 MB, free: 27.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-06/0.004331, allocations: 4 kB / 375.2 MB, free: 27.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.00435, allocations: 41.31 kB / 375.3 MB, free: 27.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 7.92e-07/0.004351, allocations: 0 / 375.3 MB, free: 27.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001753/0.004526, allocations: 276.4 kB / 375.5 MB, free: 27.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.004551, allocations: 97.03 kB / 375.6 MB, free: 27.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.004605, allocations: 191.8 kB / 375.8 MB, free: 27.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-06/0.00461, allocations: 25.7 kB / 375.8 MB, free: 27.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.004632, allocations: 135.4 kB / 376 MB, free: 26.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.004676, allocations: 87.25 kB / 376.1 MB, free: 26.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.004702, allocations: 35.36 kB / 376.1 MB, free: 26.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.004746, allocations: 0.504 MB / 376.6 MB, free: 26.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.00477, allocations: 53.69 kB / 376.6 MB, free: 26.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.004792, allocations: 58.5 kB / 376.7 MB, free: 26.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.004853, allocations: 159.2 kB / 376.9 MB, free: 26.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.004854, allocations: 0 / 376.9 MB, free: 26.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 9.433e-05/0.004949, allocations: 193 kB / 377 MB, free: 25.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.004978, allocations: 61.66 kB / 377.1 MB, free: 25.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004981, allocations: 0 / 377.1 MB, free: 25.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.00499, allocations: 0 / 377.1 MB, free: 25.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.004992, allocations: 3.938 kB / 377.1 MB, free: 25.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.004994, allocations: 3.938 kB / 377.1 MB, free: 25.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.005015, allocations: 15.89 kB / 377.1 MB, free: 25.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.005029, allocations: 4 kB / 377.1 MB, free: 25.76 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 6.072e-05/0.005089, allocations: 222.3 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.005106, allocations: 19.95 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.00512, allocations: 13.28 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005122, allocations: 3.938 kB / 377.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.005124, allocations: 7.922 kB / 377.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005126, allocations: 0 / 377.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.947e-05/0.005176, allocations: 117.1 kB / 377.5 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005176, allocations: 0 / 377.5 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.005177, allocations: 0 / 377.5 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.005177, allocations: 4 kB / 377.5 MB, free: 25.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.005184, allocations: 4 kB / 377.5 MB, free: 25.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.005185, allocations: 4 kB / 377.5 MB, free: 25.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005185, allocations: 0 / 377.5 MB, free: 25.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.005344, allocations: 307.5 kB / 377.8 MB, free: 24.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.005355, allocations: 19.83 kB / 377.8 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.005366, allocations: 4 kB / 377.8 MB, free: 24.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.005379, allocations: 4 kB / 377.8 MB, free: 24.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.005392, allocations: 4 kB / 377.8 MB, free: 24.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.005398, allocations: 8 kB / 377.9 MB, free: 24.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.005421, allocations: 145 kB / 378 MB, free: 24.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005421, allocations: 0 / 378 MB, free: 24.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.005576, allocations: 51.88 kB / 378 MB, free: 24.76 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 9.715e-05/0.005673, allocations: 115.2 kB / 378.2 MB, free: 24.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.005827, allocations: 276.8 kB / 378.4 MB, free: 24.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005828, allocations: 0 / 378.4 MB, free: 24.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.00589, allocations: 188.6 kB / 378.6 MB, free: 24.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.006032, allocations: 12 kB / 378.6 MB, free: 24.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.00632, allocations: 362.2 kB / 379 MB, free: 23.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.398e-05/0.006344, allocations: 79.33 kB / 379.1 MB, free: 23.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.282e-05/0.006357, allocations: 4.234 kB / 379.1 MB, free: 23.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.006432, allocations: 106.2 kB / 379.2 MB, free: 23.53 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006432, allocations: 0 / 379.2 MB, free: 23.53 MB / 314.7 MB Notification: Performance of Templates: time 0.003046/0.009478, allocations: 2.205 MB / 381.4 MB, free: 21.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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: 3.064932394772768]