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.0006799/0.0006799, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009849/0.001665, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0006861/0.0006861, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009164/0.001603, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9131/0.9131, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0791/0.9922, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1826/0.1826, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1211/0.3037, allocations: 9.534 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.964e-06/1.964e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.773e-05, allocations: 3.859 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002386/0.002404, allocations: 2.299 MB / 286.8 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.003036, allocations: 0.5602 MB / 287.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.003069, allocations: 3.938 kB / 287.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.00313, allocations: 10.2 kB / 287.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.003194, allocations: 26.56 kB / 287.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.003422, allocations: 75.06 kB / 287.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.003519, allocations: 65.86 kB / 287.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.003554, allocations: 10.7 kB / 287.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003669, allocations: 46.23 kB / 287.5 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.003707, allocations: 27.75 kB / 287.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.003716, allocations: 1.312 kB / 287.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.003868, allocations: 99.69 kB / 287.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.003914, allocations: 41.61 kB / 287.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.003934, allocations: 14.72 kB / 287.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004085, allocations: 134.8 kB / 287.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.004096, allocations: 1.094 kB / 287.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004097, allocations: 0 / 287.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.004106, allocations: 0 / 287.9 MB, free: 9.238 MB / 282.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.0003253/0.004431, allocations: 408.5 kB / 288.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.004459, allocations: 12.66 kB / 288.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.004489, allocations: 5.219 kB / 288.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004613, allocations: 147.2 kB / 288.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.00462, allocations: 1.906 kB / 288.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.004628, allocations: 2.344 kB / 288.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.004766, allocations: 144.5 kB / 288.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004772, allocations: 0 / 288.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.004777, allocations: 1.344 kB / 288.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.004782, allocations: 0 / 288.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.004843, allocations: 106.2 kB / 288.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.306e-05/0.004906, allocations: 74.53 kB / 288.7 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.004987, allocations: 119.8 kB / 288.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.00505, allocations: 102 kB / 289 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-06/0.005053, allocations: 1.125 kB / 289 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005072, allocations: 31.91 kB / 289 MB, free: 8.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 6.41e-07/0.005072, allocations: 0 / 289 MB, free: 8.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003249/0.005397, allocations: 468.8 kB / 289.5 MB, free: 8.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.005417, allocations: 51.41 kB / 289.5 MB, free: 8.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.00549, allocations: 145.5 kB / 289.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.005499, allocations: 25.7 kB / 289.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.005524, allocations: 92.89 kB / 289.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.005589, allocations: 136.5 kB / 289.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.005621, allocations: 32.67 kB / 289.9 MB, free: 7.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.005697, allocations: 334.9 kB / 290.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.005758, allocations: 107.8 kB / 290.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.005808, allocations: 92.41 kB / 290.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.005944, allocations: 255.6 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005946, allocations: 5.312 kB / 290.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001999/0.006146, allocations: 307.1 kB / 291 MB, free: 7.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/0.00621, allocations: 84.78 kB / 291.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.006214, allocations: 0 / 291.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.006224, allocations: 1.594 kB / 291.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.006225, allocations: 4 kB / 291.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006228, allocations: 0 / 291.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.00626, allocations: 20.55 kB / 291.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.006278, allocations: 5.844 kB / 291.1 MB, free: 6.938 MB / 282.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.683e-05/0.006374, allocations: 197.2 kB / 291.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.006398, allocations: 28.55 kB / 291.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.006413, allocations: 16.39 kB / 291.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006415, allocations: 1.188 kB / 291.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006416, allocations: 0 / 291.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.006418, allocations: 0 / 291.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.856e-05/0.006487, allocations: 100.4 kB / 291.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.006488, allocations: 0 / 291.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.006492, allocations: 14.03 kB / 291.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.006507, allocations: 24.92 kB / 291.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.006507, allocations: 0 / 291.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.006519, allocations: 10.47 kB / 291.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.00652, allocations: 0 / 291.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006521, allocations: 3.938 kB / 291.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.006844, allocations: 465.2 kB / 292 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.006862, allocations: 13.86 kB / 292 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.006883, allocations: 10.12 kB / 292 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.006896, allocations: 6.281 kB / 292 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.006909, allocations: 7.156 kB / 292 MB, free: 6.391 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.876e-05/0.006937, allocations: 31.11 kB / 292 MB, free: 6.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006938, allocations: 1.156 kB / 292 MB, free: 6.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.007094, allocations: 61.09 kB / 292.1 MB, free: 6.367 MB / 282.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.0001223/0.007216, allocations: 93.19 kB / 292.2 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.007508, allocations: 422.8 kB / 292.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.007512, allocations: 2.25 kB / 292.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.007715, allocations: 339.8 kB / 292.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.007896, allocations: 223.9 kB / 293.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.00854, allocations: 0.5154 MB / 293.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.008584, allocations: 95.8 kB / 293.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.0086, allocations: 256 / 293.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.008707, allocations: 87.45 kB / 293.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008707, allocations: 4 kB / 293.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Templates: time 0.003879/0.01259, allocations: 3.023 MB / 296.9 MB, free: 1.902 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6331122713163495]