Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001468/0.001468, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001839/0.001839, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9447/0.9447, allocations: 177.1 MB / 205 MB, free: 5.629 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.2363/0.2363, allocations: 29.41 MB / 290.9 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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_matrixEqCirc1,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_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,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_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.196e-05, allocations: 2.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002512/0.002534, allocations: 2.215 MB / 371.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.003189, allocations: 0.5377 MB / 372.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.003238, allocations: 7.938 kB / 372.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.003381, allocations: 7.922 kB / 372.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.003507, allocations: 31.78 kB / 372.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.003828, allocations: 71.75 kB / 372.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.003948, allocations: 71.69 kB / 372.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.003991, allocations: 3.984 kB / 372.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.00414, allocations: 43.83 kB / 372.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.004187, allocations: 23.92 kB / 372.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.004198, allocations: 3.984 kB / 372.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.004369, allocations: 95.8 kB / 372.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.004414, allocations: 15.92 kB / 372.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.004438, allocations: 11.94 kB / 372.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004605, allocations: 115.6 kB / 372.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004607, allocations: 0 / 372.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004608, allocations: 0 / 372.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.004611, allocations: 4 kB / 372.9 MB, free: 7.684 MB / 346.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.0003484/0.00496, allocations: 426 kB / 373.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.004996, allocations: 11.98 kB / 373.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.005038, allocations: 8.891 kB / 373.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.00516, allocations: 128.4 kB / 373.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.005168, allocations: 384 / 373.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.005178, allocations: 384 / 373.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005284, allocations: 79.89 kB / 373.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005294, allocations: 3.938 kB / 373.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.005304, allocations: 4 kB / 373.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.005312, allocations: 4 kB / 373.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.005343, allocations: 41.69 kB / 373.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.005444, allocations: 128.5 kB / 373.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.13e-05/0.005505, allocations: 68.75 kB / 373.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.005539, allocations: 57.41 kB / 373.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-06/0.005543, allocations: 0 / 373.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.005566, allocations: 37.39 kB / 373.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.91e-07/0.005566, allocations: 3.938 kB / 373.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002158/0.005782, allocations: 206.3 kB / 374.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.005819, allocations: 85.09 kB / 374.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.005899, allocations: 182 kB / 374.3 MB, free: 6.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.005909, allocations: 25.7 kB / 374.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.00595, allocations: 138.9 kB / 374.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.005986, allocations: 31.7 kB / 374.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.006016, allocations: 31.36 kB / 374.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.006129, allocations: 0.4962 MB / 375.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.006161, allocations: 41.7 kB / 375.1 MB, free: 5.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.006186, allocations: 45.69 kB / 375.1 MB, free: 5.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.809e-05/0.006254, allocations: 111 kB / 375.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006256, allocations: 0 / 375.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000103/0.006359, allocations: 152.9 kB / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.006392, allocations: 45.75 kB / 375.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006396, allocations: 0 / 375.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.006412, allocations: 7.922 kB / 375.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-06/0.006417, allocations: 0 / 375.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006422, allocations: 0 / 375.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.006437, allocations: 4 kB / 375.5 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.006452, allocations: 7.984 kB / 375.5 MB, free: 4.812 MB / 346.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 7.912e-05/0.006531, allocations: 198.3 kB / 375.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.006545, allocations: 15.94 kB / 375.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.006559, allocations: 12.44 kB / 375.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006561, allocations: 7.938 kB / 375.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.006564, allocations: 0 / 375.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.006566, allocations: 0 / 375.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.725e-05/0.006633, allocations: 140.4 kB / 375.8 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006635, allocations: 4 kB / 375.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.006637, allocations: 4 kB / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.006638, allocations: 0 / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.006646, allocations: 4 kB / 375.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006646, allocations: 0 / 375.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.006649, allocations: 7.922 kB / 375.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.006812, allocations: 223 kB / 376.1 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.006822, allocations: 11.98 kB / 376.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006833, allocations: 0 / 376.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.006843, allocations: 4 kB / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.006859, allocations: 3.938 kB / 376.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.006865, allocations: 4 kB / 376.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.006907, allocations: 135.2 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006907, allocations: 0 / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.007067, allocations: 31.94 kB / 376.3 MB, free: 3.941 MB / 346.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.0001251/0.007192, allocations: 119.1 kB / 376.4 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.007366, allocations: 206.4 kB / 376.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007368, allocations: 0 / 376.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.007437, allocations: 140.8 kB / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.007591, allocations: 12 kB / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.007913, allocations: 252 kB / 377 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.007949, allocations: 63.34 kB / 377 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.007965, allocations: 11.92 kB / 377 MB, free: 3.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.007978, allocations: 12.62 kB / 377.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007979, allocations: 0 / 377.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of Templates: time 0.00283/0.01081, allocations: 1.392 MB / 378.5 MB, free: 1.645 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0622444576583803]