Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001267/0.001267, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.004405/0.004405, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9963/0.9963, allocations: 177.1 MB / 205.3 MB, free: 5.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.2721/0.2721, allocations: 29.42 MB / 291.2 MB, free: 2.473 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_matrixTrDat2,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_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,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_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.601e-05, allocations: 2.312 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.006268/0.006294, allocations: 2.32 MB / 319.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.00861, allocations: 1.99 MB / 321.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.008664, allocations: 0 / 321.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.00879, allocations: 11.91 kB / 321.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.008879, allocations: 35.78 kB / 321.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.01049, allocations: 0.9193 MB / 322.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.01061, allocations: 83.62 kB / 322.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.01065, allocations: 4.172 kB / 322.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.01077, allocations: 51.83 kB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.01084, allocations: 35.89 kB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.01084, allocations: 4 kB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.01296, allocations: 1.949 MB / 324.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.01302, allocations: 31.86 kB / 324.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.01305, allocations: 23.92 kB / 324.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.01456, allocations: 1.515 MB / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01457, allocations: 0 / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01457, allocations: 0 / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01457, allocations: 0 / 325.9 MB, free: 6.93 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005/0.01507, allocations: 488.3 kB / 326.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.01511, allocations: 11.98 kB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.01514, allocations: 12.86 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.01527, allocations: 133.5 kB / 326.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.01528, allocations: 4.359 kB / 326.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.01529, allocations: 3.938 kB / 326.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.01541, allocations: 113 kB / 326.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.01541, allocations: 0 / 326.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.01542, allocations: 0 / 326.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01543, allocations: 0 / 326.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.01546, allocations: 57.69 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.215e-05/0.01553, allocations: 67.77 kB / 326.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.219e-05/0.0156, allocations: 76.27 kB / 326.8 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.01563, allocations: 62.58 kB / 326.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-06/0.01564, allocations: 0 / 326.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01566, allocations: 30.56 kB / 326.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 8.62e-07/0.01566, allocations: 7.938 kB / 326.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002335/0.01589, allocations: 263 kB / 327.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.01593, allocations: 93.09 kB / 327.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.01602, allocations: 144.9 kB / 327.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.01603, allocations: 29.73 kB / 327.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.01605, allocations: 88.62 kB / 327.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.01611, allocations: 87.23 kB / 327.6 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.01614, allocations: 29.69 kB / 327.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.01623, allocations: 326.8 kB / 328 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.01628, allocations: 64.52 kB / 328 MB, free: 4.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.01631, allocations: 56.53 kB / 328.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/0.01641, allocations: 149.8 kB / 328.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01641, allocations: 0 / 328.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001414/0.01655, allocations: 182.1 kB / 328.4 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.0166, allocations: 65.59 kB / 328.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01661, allocations: 4.062 kB / 328.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01662, allocations: 0 / 328.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.01662, allocations: 3.938 kB / 328.5 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.01662, allocations: 4 kB / 328.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.01667, allocations: 11.89 kB / 328.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01669, allocations: 4 kB / 328.5 MB, free: 4.059 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 0.0003902/0.01708, allocations: 174.3 kB / 328.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.0171, allocations: 15.98 kB / 328.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.01712, allocations: 21.2 kB / 328.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01713, allocations: 4 kB / 328.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01713, allocations: 4 kB / 328.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01713, allocations: 0 / 328.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.193e-05/0.0172, allocations: 93.72 kB / 328.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0172, allocations: 0 / 328.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.0172, allocations: 0 / 328.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.01721, allocations: 0 / 328.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01722, allocations: 11.98 kB / 328.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01722, allocations: 0 / 328.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01722, allocations: 3.938 kB / 328.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.01747, allocations: 279.1 kB / 329.1 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01749, allocations: 15.84 kB / 329.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.0175, allocations: 8.031 kB / 329.1 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.409e-05/0.01752, allocations: 4 kB / 329.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.01754, allocations: 7.938 kB / 329.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01755, allocations: 8 kB / 329.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.665e-05/0.01758, allocations: 34.44 kB / 329.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01758, allocations: 0 / 329.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006868/0.01827, allocations: 339.3 kB / 329.5 MB, free: 2.984 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.0007515/0.01902, allocations: 405.8 kB / 329.9 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.01924, allocations: 268 kB / 330.1 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.01925, allocations: 8 kB / 330.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.01935, allocations: 177.8 kB / 330.3 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.01948, allocations: 16 kB / 330.3 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.02008, allocations: 404.7 kB / 330.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.02012, allocations: 83.31 kB / 330.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.305e-05/0.02013, allocations: 0 / 330.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.02024, allocations: 79.38 kB / 330.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02024, allocations: 0 / 330.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of Templates: time 0.01056/0.0308, allocations: 8.163 MB / 339.1 MB, free: 9.312 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.2534436960704625]