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.001859/0.001859, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002001/0.002001, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.2989/0.2989, allocations: 29.4 MB / 290.5 MB, free: 2.402 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.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",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.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.106e-05/4.286e-05, allocations: 5.406 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.005555/0.005598, allocations: 2.172 MB / 371.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.006932, allocations: 0.5377 MB / 371.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.006982, allocations: 0 / 371.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.007143, allocations: 11.92 kB / 371.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.007273, allocations: 31.77 kB / 371.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.00776, allocations: 79.69 kB / 371.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.007928, allocations: 59.7 kB / 371.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.00797, allocations: 4 kB / 371.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.008168, allocations: 39.89 kB / 371.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.008259, allocations: 27.89 kB / 371.9 MB, free: 8.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.008274, allocations: 4 kB / 371.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.00859, allocations: 99.78 kB / 372 MB, free: 8.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.008679, allocations: 39.86 kB / 372 MB, free: 8.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.008735, allocations: 19.88 kB / 372 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.009099, allocations: 151.4 kB / 372.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.009103, allocations: 0 / 372.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009105, allocations: 0 / 372.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.00911, allocations: 0 / 372.2 MB, free: 8.031 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.0008576/0.009968, allocations: 0.5011 MB / 372.7 MB, free: 7.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.01002, allocations: 11.98 kB / 372.7 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.0101, allocations: 20.78 kB / 372.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.01043, allocations: 152.9 kB / 372.8 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.01045, allocations: 4.375 kB / 372.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.01046, allocations: 4.312 kB / 372.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.01074, allocations: 121.2 kB / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01075, allocations: 0 / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.01076, allocations: 0 / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.01077, allocations: 0 / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.01095, allocations: 86 kB / 373.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.01121, allocations: 141.1 kB / 373.2 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.01144, allocations: 105.1 kB / 373.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.01162, allocations: 97.73 kB / 373.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.01163, allocations: 0 / 373.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.01169, allocations: 45.25 kB / 373.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.433e-06/0.01169, allocations: 0 / 373.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009686/0.01266, allocations: 431.5 kB / 373.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.01279, allocations: 101.1 kB / 374 MB, free: 6.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.01307, allocations: 209.1 kB / 374.2 MB, free: 5.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.0131, allocations: 25.7 kB / 374.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.01325, allocations: 143.5 kB / 374.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.01347, allocations: 142.8 kB / 374.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.01358, allocations: 43.36 kB / 374.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004242/0.014, allocations: 0.5157 MB / 375 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.01416, allocations: 77.69 kB / 375.1 MB, free: 4.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01431, allocations: 78.67 kB / 375.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.0147, allocations: 215.2 kB / 375.4 MB, free: 4.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.0147, allocations: 0 / 375.4 MB, free: 4.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007709/0.01547, allocations: 300.7 kB / 375.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.01563, allocations: 77.62 kB / 375.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01564, allocations: 0 / 375.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.01567, allocations: 0 / 375.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.01567, allocations: 4 kB / 375.8 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.01568, allocations: 4.062 kB / 375.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.01578, allocations: 19.84 kB / 375.8 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.01583, allocations: 4 kB / 375.8 MB, free: 4.105 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.0003815/0.01621, allocations: 242.2 kB / 376 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.0163, allocations: 35.84 kB / 376.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.01633, allocations: 5.969 kB / 376.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01633, allocations: 11.88 kB / 376.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01634, allocations: 0 / 376.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01634, allocations: 0 / 376.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.01663, allocations: 164.4 kB / 376.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01663, allocations: 0 / 376.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.01663, allocations: 4 kB / 376.2 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.01665, allocations: 3.938 kB / 376.2 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.01668, allocations: 8 kB / 376.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01668, allocations: 4 kB / 376.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.01669, allocations: 3.984 kB / 376.3 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.01772, allocations: 475.5 kB / 376.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.01777, allocations: 19.78 kB / 376.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.01784, allocations: 8 kB / 376.7 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.01791, allocations: 7.984 kB / 376.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.01796, allocations: 8 kB / 376.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.01799, allocations: 8.031 kB / 376.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001763/0.01816, allocations: 150.4 kB / 376.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.01816, allocations: 0 / 376.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.01867, allocations: 67.88 kB / 377 MB, free: 2.82 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.0003192/0.01898, allocations: 119.2 kB / 377.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.01995, allocations: 442.3 kB / 377.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01995, allocations: 0 / 377.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.02053, allocations: 316.6 kB / 377.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.02095, allocations: 36.05 kB / 377.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.02226, allocations: 497 kB / 378.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.0225, allocations: 135.3 kB / 378.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.02253, allocations: 0 / 378.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.02256, allocations: 8.5 kB / 378.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02256, allocations: 0 / 378.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of Templates: time 0.01145/0.03401, allocations: 2.79 MB / 381.3 MB, free: 14.43 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7819865280762315]