Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.0009968/0.0009968, 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.001181/0.001181, 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.9734/0.9734, allocations: 177.1 MB / 205 MB, free: 5.59 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.233/0.233, allocations: 29.41 MB / 290.9 MB, free: 2.445 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_matrixEqCirc3,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_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,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_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.198e-06/4.198e-06, allocations: 3.984 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.172e-05/4.592e-05, allocations: 9.75 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004058/0.004104, allocations: 2.21 MB / 371.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.005078, allocations: 0.5416 MB / 372.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.005141, allocations: 3.938 kB / 372.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.005333, allocations: 19.84 kB / 372.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.005459, allocations: 23.84 kB / 372.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.005938, allocations: 75.75 kB / 372.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.006089, allocations: 59.7 kB / 372.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.006145, allocations: 7.984 kB / 372.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.00633, allocations: 35.84 kB / 372.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.006396, allocations: 31.89 kB / 372.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.006408, allocations: 4 kB / 372.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.006636, allocations: 95.78 kB / 372.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.006724, allocations: 43.86 kB / 372.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.006763, allocations: 19.86 kB / 372.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.007019, allocations: 151.4 kB / 373 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007022, allocations: 0 / 373 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007023, allocations: 0 / 373 MB, free: 7.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.007029, allocations: 0 / 373 MB, free: 7.629 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005638/0.007592, allocations: 0.5053 MB / 373.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.007648, allocations: 11.98 kB / 373.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.007708, allocations: 20.8 kB / 373.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.007902, allocations: 148.9 kB / 373.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.007915, allocations: 4.375 kB / 373.7 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.007927, allocations: 384 / 373.7 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.008086, allocations: 113.2 kB / 373.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.008096, allocations: 4 kB / 373.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.008107, allocations: 0 / 373.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.008115, allocations: 0 / 373.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.008172, allocations: 89.98 kB / 373.9 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.008297, allocations: 145 kB / 374 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.008384, allocations: 105.1 kB / 374.1 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.008448, allocations: 101.7 kB / 374.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.008453, allocations: 0 / 374.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.008481, allocations: 41.33 kB / 374.2 MB, free: 6.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 7.51e-07/0.008482, allocations: 0 / 374.2 MB, free: 6.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003875/0.008869, allocations: 439.4 kB / 374.7 MB, free: 5.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.008921, allocations: 105.1 kB / 374.8 MB, free: 5.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.009065, allocations: 201.3 kB / 375 MB, free: 5.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.00908, allocations: 25.7 kB / 375 MB, free: 5.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.009148, allocations: 147.5 kB / 375.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.009267, allocations: 138.8 kB / 375.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.009326, allocations: 51.39 kB / 375.3 MB, free: 5.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.009464, allocations: 0.5079 MB / 375.8 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.009521, allocations: 85.69 kB / 375.9 MB, free: 4.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.009571, allocations: 78.67 kB / 376 MB, free: 4.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.009707, allocations: 215.3 kB / 376.2 MB, free: 4.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.00971, allocations: 0 / 376.2 MB, free: 4.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002236/0.009933, allocations: 308.7 kB / 376.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.01, allocations: 77.62 kB / 376.6 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.01001, allocations: 3.938 kB / 376.6 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01002, allocations: 0 / 376.6 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-06/0.01002, allocations: 0 / 376.6 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01003, allocations: 4.062 kB / 376.6 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.01006, allocations: 19.84 kB / 376.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.01009, allocations: 12 kB / 376.6 MB, free: 3.676 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 0.0001722/0.01026, allocations: 238.2 kB / 376.8 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.0103, allocations: 35.84 kB / 376.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.01033, allocations: 13.95 kB / 376.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01033, allocations: 0 / 376.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01034, allocations: 0 / 376.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.01034, allocations: 0 / 376.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.01047, allocations: 160.4 kB / 377.1 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.01047, allocations: 12 kB / 377.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-06/0.01047, allocations: 3.984 kB / 377.1 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01048, allocations: 3.938 kB / 377.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01049, allocations: 4 kB / 377.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01049, allocations: 0 / 377.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01049, allocations: 4 kB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.01086, allocations: 479.4 kB / 377.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01087, allocations: 23.77 kB / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01089, allocations: 8 kB / 377.6 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.01091, allocations: 4 kB / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.01094, allocations: 4 kB / 377.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01095, allocations: 12.03 kB / 377.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.01101, allocations: 151.2 kB / 377.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 0 / 377.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.01121, allocations: 59.94 kB / 377.8 MB, free: 2.398 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.0001634/0.01137, allocations: 115.2 kB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.01169, allocations: 394.3 kB / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01169, allocations: 0 / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.01185, allocations: 264.6 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.0121, allocations: 34.81 kB / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.01264, allocations: 0.4931 MB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.01272, allocations: 91.81 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.01274, allocations: 3.938 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.01276, allocations: 12.5 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01276, allocations: 0 / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of Templates: time 0.00461/0.01737, allocations: 2.81 MB / 382 MB, free: 14.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.134081124793738]