Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001323/0.001323, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001243/0.001243, allocations: 164.8 kB / 25.61 MB, free: 8.91 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 1.005/1.005, 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.1144/0.1144, allocations: 29.43 MB / 292 MB, free: 2.648 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_matrixTrDat0,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_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,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_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.722e-05, allocations: 3.188 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00218/0.002208, allocations: 2.265 MB / 373.2 MB, free: 30.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.004018, allocations: 1.945 MB / 375.1 MB, free: 28.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.004059, allocations: 0 / 375.1 MB, free: 28.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.00418, allocations: 11.92 kB / 375.1 MB, free: 28.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.004242, allocations: 35.7 kB / 375.2 MB, free: 28.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.005467, allocations: 0.974 MB / 376.1 MB, free: 27.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.005553, allocations: 79.64 kB / 376.2 MB, free: 26.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.00559, allocations: 8.125 kB / 376.2 MB, free: 26.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.005691, allocations: 43.88 kB / 376.3 MB, free: 26.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.005749, allocations: 47.88 kB / 376.3 MB, free: 26.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.005758, allocations: 0 / 376.3 MB, free: 26.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.007216, allocations: 1.89 MB / 378.2 MB, free: 24.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.007248, allocations: 11.92 kB / 378.2 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.007272, allocations: 15.94 kB / 378.2 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.008282, allocations: 1.488 MB / 379.7 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.008285, allocations: 0 / 379.7 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008285, allocations: 0 / 379.7 MB, free: 23.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.008289, allocations: 0 / 379.7 MB, free: 23.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003923/0.008682, allocations: 0.5316 MB / 380.2 MB, free: 22.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.008714, allocations: 12.02 kB / 380.3 MB, free: 22.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.008757, allocations: 16.89 kB / 380.3 MB, free: 22.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.822e-05/0.008845, allocations: 128.5 kB / 380.4 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.008853, allocations: 3.938 kB / 380.4 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.008859, allocations: 7.984 kB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.062e-05/0.008919, allocations: 67.39 kB / 380.5 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.008926, allocations: 0 / 380.5 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-06/0.008931, allocations: 0 / 380.5 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.008935, allocations: 4 kB / 380.5 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.598e-05/0.008951, allocations: 37.69 kB / 380.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.768e-05/0.009008, allocations: 105.3 kB / 380.6 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.66e-05/0.009045, allocations: 72.69 kB / 380.7 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.009061, allocations: 45.42 kB / 380.7 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-06/0.009064, allocations: 3.938 kB / 380.7 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.009076, allocations: 37.39 kB / 380.8 MB, free: 22.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 4.51e-07/0.009077, allocations: 0 / 380.8 MB, free: 22.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001259/0.009203, allocations: 174.7 kB / 380.9 MB, free: 22.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.009223, allocations: 89.05 kB / 381 MB, free: 21.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.009267, allocations: 178 kB / 381.2 MB, free: 21.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.009271, allocations: 29.7 kB / 381.2 MB, free: 21.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.892e-05/0.00929, allocations: 134.9 kB / 381.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.009317, allocations: 31.73 kB / 381.4 MB, free: 21.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.009338, allocations: 23.38 kB / 381.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.009381, allocations: 0.4962 MB / 381.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.009395, allocations: 33.7 kB / 381.9 MB, free: 20.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.00941, allocations: 49.7 kB / 382 MB, free: 20.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.009445, allocations: 91.08 kB / 382.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.009447, allocations: 3.938 kB / 382.1 MB, free: 20.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.834e-05/0.009515, allocations: 136.9 kB / 382.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.009538, allocations: 41.69 kB / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.009541, allocations: 0 / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.009548, allocations: 0 / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.009548, allocations: 0 / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.00955, allocations: 0 / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.009577, allocations: 4 kB / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.009589, allocations: 64 / 382.3 MB, free: 20.61 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 4.419e-05/0.009633, allocations: 202.3 kB / 382.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.009644, allocations: 15.89 kB / 382.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.009656, allocations: 8.422 kB / 382.5 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.009657, allocations: 0 / 382.5 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009658, allocations: 0 / 382.5 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009661, allocations: 0 / 382.5 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.999e-05/0.009701, allocations: 109.2 kB / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.009701, allocations: 0 / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/0.009702, allocations: 0 / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.009703, allocations: 4 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.009708, allocations: 7.938 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.009708, allocations: 0 / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009709, allocations: 4 kB / 382.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.754e-05/0.009797, allocations: 199.7 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.009804, allocations: 11.95 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.009814, allocations: 7.938 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.009825, allocations: 0 / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.009835, allocations: 4 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.009839, allocations: 0 / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.086e-05/0.009859, allocations: 135.2 kB / 383 MB, free: 19.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00986, allocations: 0 / 383 MB, free: 19.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000408/0.01027, allocations: 323.4 kB / 383.3 MB, free: 19.52 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.0005034/0.01077, allocations: 405.7 kB / 383.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.874e-05/0.01087, allocations: 170.5 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01087, allocations: 0 / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.0109, allocations: 124.8 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.01102, allocations: 20.56 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.01135, allocations: 240.7 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.836e-05/0.01136, allocations: 63.34 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.985e-06/0.01137, allocations: 0 / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.01144, allocations: 90.19 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01144, allocations: 0 / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of Templates: time 0.006397/0.01784, allocations: 7.447 MB / 391.8 MB, free: 10.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.2694988567382097]