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.001391/0.001391, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001264/0.001264, allocations: 169 kB / 24.91 MB, free: 8.723 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.9693/0.9693, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1245/0.1245, allocations: 29.43 MB / 291.2 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.703e-06/1.703e-06, allocations: 3.938 kB / 316.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.837e-05, allocations: 4.844 kB / 316.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003769/0.003798, allocations: 2.223 MB / 319.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.004768, allocations: 0.557 MB / 319.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.004829, allocations: 0 / 319.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.005043, allocations: 11.92 kB / 319.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.005151, allocations: 43.69 kB / 319.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.005568, allocations: 71.81 kB / 319.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.005712, allocations: 71.64 kB / 319.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.005761, allocations: 11.97 kB / 319.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.005954, allocations: 39.89 kB / 319.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.006012, allocations: 23.91 kB / 319.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.006024, allocations: 4 kB / 319.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.006244, allocations: 99.72 kB / 320 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.006286, allocations: 4 kB / 320 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.006311, allocations: 15.92 kB / 320 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.006499, allocations: 111.6 kB / 320.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.006503, allocations: 4 kB / 320.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006504, allocations: 0 / 320.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.006508, allocations: 0 / 320.1 MB, free: 5.758 MB / 298.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.0003244/0.006833, allocations: 290.4 kB / 320.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.006876, allocations: 8.031 kB / 320.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.006911, allocations: 4.938 kB / 320.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.007044, allocations: 117.7 kB / 320.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.007052, allocations: 8.312 kB / 320.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.007062, allocations: 384 / 320.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.00717, allocations: 70.78 kB / 320.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.007179, allocations: 3.938 kB / 320.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.007185, allocations: 4 kB / 320.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007191, allocations: 0 / 320.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.007223, allocations: 41.69 kB / 320.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.708e-05/0.00731, allocations: 67.81 kB / 320.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.007373, allocations: 52.22 kB / 320.8 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.007405, allocations: 46.58 kB / 320.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-06/0.007408, allocations: 3.938 kB / 320.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.007434, allocations: 34.55 kB / 320.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.007435, allocations: 0 / 320.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001737/0.007609, allocations: 154.8 kB / 321 MB, free: 4.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.007655, allocations: 93.08 kB / 321.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.007738, allocations: 126.8 kB / 321.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.007757, allocations: 25.7 kB / 321.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.007783, allocations: 80.14 kB / 321.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.007825, allocations: 31.73 kB / 321.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.007861, allocations: 21.7 kB / 321.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.00795, allocations: 314.8 kB / 321.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.007989, allocations: 44.52 kB / 321.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.008015, allocations: 33.7 kB / 321.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.0081, allocations: 97.89 kB / 321.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.008102, allocations: 32 / 321.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001067/0.008209, allocations: 117.1 kB / 322 MB, free: 3.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.008254, allocations: 45.69 kB / 322 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.008261, allocations: 3.984 kB / 322 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008276, allocations: 3.938 kB / 322 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.008281, allocations: 0 / 322 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.008284, allocations: 3.938 kB / 322 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.008312, allocations: 4 kB / 322.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.008326, allocations: 0 / 322.1 MB, free: 3.586 MB / 298.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 9.481e-05/0.008421, allocations: 150.4 kB / 322.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.008436, allocations: 4 kB / 322.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.008453, allocations: 16.45 kB / 322.2 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008455, allocations: 0 / 322.2 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.008458, allocations: 3.938 kB / 322.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00846, allocations: 0 / 322.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.301e-05/0.008533, allocations: 69.91 kB / 322.3 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.008538, allocations: 3.984 kB / 322.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.008539, allocations: 0 / 322.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.00854, allocations: 0 / 322.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.008549, allocations: 8 kB / 322.3 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008551, allocations: 0 / 322.3 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.008552, allocations: 3.938 kB / 322.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.008715, allocations: 174 kB / 322.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.008727, allocations: 7.953 kB / 322.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.008742, allocations: 4 kB / 322.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.008757, allocations: 0 / 322.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.00877, allocations: 4 kB / 322.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.00878, allocations: 7.984 kB / 322.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.94e-05/0.008799, allocations: 12.86 kB / 322.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008799, allocations: 0 / 322.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000221/0.00902, allocations: 31.88 kB / 322.5 MB, free: 3.023 MB / 298.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.0001629/0.009183, allocations: 100.4 kB / 322.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.009346, allocations: 163.6 kB / 322.8 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.00935, allocations: 0 / 322.8 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.00942, allocations: 118.2 kB / 322.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.009549, allocations: 15.92 kB / 322.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.009885, allocations: 215.7 kB / 323.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.003e-05/0.009925, allocations: 63.34 kB / 323.2 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.009941, allocations: 4.125 kB / 323.2 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.01004, allocations: 75.34 kB / 323.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01004, allocations: 0 / 323.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of Templates: time 0.003555/0.0136, allocations: 1.215 MB / 324.5 MB, free: 0.9727 MB / 298.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.817556875757873]