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.001113/0.001113, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004153/0.004153, allocations: 163.9 kB / 24.7 MB, free: 9.43 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.814/0.814, allocations: 177.1 MB / 205 MB, free: 5.727 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.1947/0.1947, allocations: 29.41 MB / 290.9 MB, free: 2.426 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.182e-06/1.182e-06, allocations: 3.938 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.4e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.001938/0.001952, allocations: 2.146 MB / 433.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000492/0.002444, allocations: 0.5375 MB / 434.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.00248, allocations: 0 / 434.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.002596, allocations: 11.92 kB / 434.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.002666, allocations: 31.77 kB / 434.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.002952, allocations: 71.7 kB / 434.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.003045, allocations: 67.73 kB / 434.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.003082, allocations: 4 kB / 434.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.003188, allocations: 39.89 kB / 434.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.003223, allocations: 27.91 kB / 434.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-06/0.003231, allocations: 0 / 434.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.003372, allocations: 99.67 kB / 434.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.00342, allocations: 47.84 kB / 434.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.003442, allocations: 15.88 kB / 434.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.00359, allocations: 155.4 kB / 434.7 MB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003592, allocations: 0 / 434.7 MB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003593, allocations: 0 / 434.7 MB, free: 9.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.716e-06/0.003596, allocations: 0 / 434.7 MB, free: 9.82 MB / 410.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.0003057/0.003902, allocations: 407.2 kB / 435.1 MB, free: 9.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.003932, allocations: 15.98 kB / 435.1 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.003963, allocations: 16.84 kB / 435.2 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.00408, allocations: 138.1 kB / 435.3 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.004088, allocations: 384 / 435.3 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.004096, allocations: 384 / 435.3 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.004269, allocations: 220.2 kB / 435.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004276, allocations: 0 / 435.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.004288, allocations: 0 / 435.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.004292, allocations: 0 / 435.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.004396, allocations: 189.9 kB / 435.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.683e-05/0.004493, allocations: 133.8 kB / 435.8 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.004846, allocations: 204.5 kB / 436 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.004949, allocations: 194.8 kB / 436.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.004956, allocations: 0 / 436.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004975, allocations: 46.44 kB / 436.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 5.81e-07/0.004976, allocations: 0 / 436.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004547/0.00543, allocations: 0.6789 MB / 436.9 MB, free: 7.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.005474, allocations: 109.1 kB / 437 MB, free: 7.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.005554, allocations: 149.2 kB / 437.2 MB, free: 7.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.005563, allocations: 25.7 kB / 437.2 MB, free: 7.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.005596, allocations: 92.8 kB / 437.3 MB, free: 7.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.005661, allocations: 138.8 kB / 437.4 MB, free: 6.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.005691, allocations: 33.73 kB / 437.5 MB, free: 6.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.005763, allocations: 330.8 kB / 437.8 MB, free: 6.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.005865, allocations: 189.6 kB / 438 MB, free: 6.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.00596, allocations: 185.6 kB / 438.2 MB, free: 6.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.006189, allocations: 433.3 kB / 438.6 MB, free: 5.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00619, allocations: 3.938 kB / 438.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002622/0.006453, allocations: 452.7 kB / 439 MB, free: 5.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.006502, allocations: 85.64 kB / 439.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.006506, allocations: 0 / 439.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.006516, allocations: 0 / 439.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.006518, allocations: 8.047 kB / 439.1 MB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.006522, allocations: 0 / 439.1 MB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.006548, allocations: 15.89 kB / 439.1 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.006565, allocations: 8 kB / 439.2 MB, free: 5.125 MB / 410.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.0001073/0.006672, allocations: 227.5 kB / 439.4 MB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.006691, allocations: 35.78 kB / 439.4 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.268e-05/0.006703, allocations: 9.969 kB / 439.4 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006705, allocations: 0 / 439.4 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.006708, allocations: 0 / 439.4 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006711, allocations: 3.984 kB / 439.4 MB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077e-05/0.006782, allocations: 153.1 kB / 439.6 MB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006782, allocations: 0 / 439.6 MB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.006783, allocations: 4 kB / 439.6 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006784, allocations: 3.938 kB / 439.6 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.006795, allocations: 4 kB / 439.6 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006795, allocations: 0 / 439.6 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.006797, allocations: 7.938 kB / 439.6 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.007287, allocations: 0.7577 MB / 440.3 MB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.007303, allocations: 27.72 kB / 440.4 MB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.007318, allocations: 4 kB / 440.4 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.007335, allocations: 8 kB / 440.4 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.007352, allocations: 12.02 kB / 440.4 MB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/0.007361, allocations: 4 kB / 440.4 MB, free: 3.789 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.007404, allocations: 111.2 kB / 440.5 MB, free: 3.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007404, allocations: 4 kB / 440.5 MB, free: 3.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.007558, allocations: 59.94 kB / 440.6 MB, free: 3.617 MB / 410.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.0001187/0.007676, allocations: 123.2 kB / 440.7 MB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.008162, allocations: 0.7445 MB / 441.4 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008163, allocations: 0 / 441.4 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.008403, allocations: 428.9 kB / 441.9 MB, free: 2.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.008568, allocations: 46.69 kB / 441.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.009156, allocations: 0.744 MB / 442.6 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.009231, allocations: 139.6 kB / 442.8 MB, free: 1.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/0.009242, allocations: 8.5 kB / 442.8 MB, free: 1.285 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009243, allocations: 0 / 442.8 MB, free: 1.285 MB / 410.7 MB Notification: Performance of Templates: time 0.1279/0.1371, allocations: 2.378 MB / 445.2 MB, free: 54.67 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] 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.806644516997039]