Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.0009739/0.0009739, 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.001003/0.001003, allocations: 162.1 kB / 25.61 MB, free: 8.902 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.9124/0.9124, allocations: 177.1 MB / 206 MB, free: 4.504 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.1246/0.1246, allocations: 29.44 MB / 292 MB, free: 2.625 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_matrixTrDat3,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_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,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_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.387e-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_matrixTrDat3): time 0.002391/0.002404, allocations: 2.27 MB / 373.2 MB, free: 30.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.004658, allocations: 1.942 MB / 375.1 MB, free: 28.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.004715, allocations: 0 / 375.1 MB, free: 28.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.004842, allocations: 7.922 kB / 375.1 MB, free: 28.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.004935, allocations: 35.77 kB / 375.2 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.006932, allocations: 0.9857 MB / 376.1 MB, free: 27.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.007041, allocations: 83.62 kB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.007077, allocations: 4.172 kB / 376.2 MB, free: 26.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.007208, allocations: 43.84 kB / 376.3 MB, free: 26.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.007283, allocations: 47.86 kB / 376.3 MB, free: 26.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.007298, allocations: 8 kB / 376.3 MB, free: 26.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.00973, allocations: 1.894 MB / 378.2 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.009781, allocations: 43.86 kB / 378.3 MB, free: 24.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.009816, allocations: 23.86 kB / 378.3 MB, free: 24.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.01119, allocations: 1.547 MB / 379.8 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.0112, allocations: 0 / 379.8 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0112, allocations: 0 / 379.8 MB, free: 23.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.0112, allocations: 0 / 379.8 MB, free: 23.33 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005113/0.01171, allocations: 0.6442 MB / 380.5 MB, free: 22.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.01174, allocations: 12.03 kB / 380.5 MB, free: 22.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.01179, allocations: 20.75 kB / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.01191, allocations: 156.2 kB / 380.7 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.01192, allocations: 384 / 380.7 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.01193, allocations: 7.922 kB / 380.7 MB, free: 22.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.01206, allocations: 121.2 kB / 380.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.01207, allocations: 0 / 380.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.01208, allocations: 4 kB / 380.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.01208, allocations: 0 / 380.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.01215, allocations: 82 kB / 380.9 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.892e-05/0.01225, allocations: 117.8 kB / 381 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.01234, allocations: 105.1 kB / 381.1 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.0124, allocations: 77.73 kB / 381.2 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.01241, allocations: 4 kB / 381.2 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.01243, allocations: 45.27 kB / 381.2 MB, free: 21.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.183e-06/0.01243, allocations: 0 / 381.2 MB, free: 21.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004097/0.01284, allocations: 422.5 kB / 381.6 MB, free: 21.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.01287, allocations: 101.1 kB / 381.7 MB, free: 21.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.01298, allocations: 226.3 kB / 381.9 MB, free: 21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.01299, allocations: 25.73 kB / 382 MB, free: 20.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.01303, allocations: 155.5 kB / 382.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.01312, allocations: 142.8 kB / 382.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.01317, allocations: 47.34 kB / 382.3 MB, free: 20.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.01324, allocations: 0.5157 MB / 382.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.0133, allocations: 77.67 kB / 382.9 MB, free: 20.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.01335, allocations: 70.67 kB / 383 MB, free: 19.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.0135, allocations: 211.2 kB / 383.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0135, allocations: 3.938 kB / 383.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002485/0.01375, allocations: 292.8 kB / 383.5 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.01381, allocations: 81.56 kB / 383.5 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01382, allocations: 8.062 kB / 383.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01383, allocations: 0 / 383.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.01383, allocations: 0 / 383.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.01383, allocations: 0 / 383.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.0139, allocations: 23.78 kB / 383.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.01393, allocations: 8 kB / 383.6 MB, free: 19.28 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 0.0001131/0.01404, allocations: 242.2 kB / 383.8 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.01408, allocations: 39.8 kB / 383.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.0141, allocations: 10.66 kB / 383.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0141, allocations: 7.922 kB / 383.9 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.0141, allocations: 4 kB / 383.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.0141, allocations: 0 / 383.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.103e-05/0.0142, allocations: 137.1 kB / 384 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0142, allocations: 0 / 384 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.0142, allocations: 0 / 384 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.0142, allocations: 4 kB / 384 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01422, allocations: 8 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01422, allocations: 3.938 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01422, allocations: 4 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.01465, allocations: 451.5 kB / 384.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.01467, allocations: 31.72 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.0147, allocations: 12.03 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.01475, allocations: 7.938 kB / 384.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.01478, allocations: 8 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.0148, allocations: 8 kB / 384.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.01485, allocations: 155.1 kB / 384.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01485, allocations: 0 / 384.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006542/0.0155, allocations: 363.3 kB / 385 MB, free: 17.73 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 0.0007912/0.0163, allocations: 417.1 kB / 385.5 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.01665, allocations: 378.3 kB / 385.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01666, allocations: 0 / 385.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.01685, allocations: 248.6 kB / 386.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01707, allocations: 20.5 kB / 386.1 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.01779, allocations: 0.5316 MB / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.01785, allocations: 91.81 kB / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.01786, allocations: 0 / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.01803, allocations: 122.2 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01803, allocations: 0 / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.01287/0.0309, allocations: 9.138 MB / 396 MB, free: 6.715 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.2824228308163583]