Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.0008754/0.0008754, 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.003034/0.003034, allocations: 160.7 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.836/0.836, allocations: 177.1 MB / 205 MB, free: 5.723 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.2029/0.2029, 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 4 kB / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.692e-05, allocations: 2.281 kB / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.0021/0.002117, allocations: 2.231 MB / 433.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.004145, allocations: 1.909 MB / 435.6 MB, free: 8.887 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.004188, allocations: 0 / 435.6 MB, free: 8.887 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.0043, allocations: 15.84 kB / 435.6 MB, free: 8.871 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.00438, allocations: 43.7 kB / 435.7 MB, free: 8.828 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.005666, allocations: 0.9494 MB / 436.6 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.005769, allocations: 99.61 kB / 436.7 MB, free: 7.781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.005813, allocations: 11.84 kB / 436.7 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.005926, allocations: 55.77 kB / 436.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.005993, allocations: 55.84 kB / 436.9 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.006002, allocations: 0 / 436.9 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.00756, allocations: 1.843 MB / 438.7 MB, free: 5.812 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.007599, allocations: 35.8 kB / 438.7 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.007633, allocations: 35.91 kB / 438.8 MB, free: 5.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.008664, allocations: 1.473 MB / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.008666, allocations: 0 / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.008667, allocations: 3.938 kB / 440.2 MB, free: 4.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.008671, allocations: 0 / 440.2 MB, free: 4.262 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004246/0.009095, allocations: 478.2 kB / 440.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.009126, allocations: 11.98 kB / 440.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.009162, allocations: 16.84 kB / 440.7 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.009289, allocations: 141.5 kB / 440.9 MB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.009297, allocations: 384 / 440.9 MB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.009305, allocations: 8.312 kB / 440.9 MB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.009442, allocations: 131.5 kB / 441 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.009449, allocations: 0 / 441 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.009457, allocations: 0 / 441 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.009462, allocations: 0 / 441 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.009523, allocations: 85.66 kB / 441.1 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.722e-05/0.00962, allocations: 125.2 kB / 441.2 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.009702, allocations: 104.3 kB / 441.3 MB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.009768, allocations: 86.69 kB / 441.4 MB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.009775, allocations: 3.984 kB / 441.4 MB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.009797, allocations: 46.55 kB / 441.5 MB, free: 2.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 5.31e-07/0.009798, allocations: 0 / 441.5 MB, free: 2.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002848/0.01008, allocations: 318.6 kB / 441.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.01012, allocations: 93.09 kB / 441.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.0102, allocations: 153.3 kB / 442 MB, free: 2.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.01021, allocations: 25.7 kB / 442 MB, free: 2.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.01025, allocations: 104.4 kB / 442.1 MB, free: 2.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.01028, allocations: 51.58 kB / 442.2 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.01031, allocations: 17.72 kB / 442.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002975/0.01061, allocations: 326.8 kB / 442.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.01067, allocations: 85.66 kB / 442.6 MB, free: 1.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.01072, allocations: 93.69 kB / 442.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.01085, allocations: 194.7 kB / 442.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01085, allocations: 0 / 442.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001548/0.01101, allocations: 236.9 kB / 443.1 MB, free: 1.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.01104, allocations: 49.62 kB / 443.2 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.01105, allocations: 7.969 kB / 443.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01106, allocations: 0 / 443.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.01106, allocations: 3.938 kB / 443.2 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01106, allocations: 0 / 443.2 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.0111, allocations: 7.938 kB / 443.2 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.01111, allocations: 4 kB / 443.2 MB, free: 1.047 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 7.664e-05/0.01119, allocations: 175.6 kB / 443.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.0112, allocations: 15.91 kB / 443.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.01122, allocations: 12.72 kB / 443.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01122, allocations: 4 kB / 443.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01122, allocations: 3.938 kB / 443.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.01122, allocations: 0 / 443.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.311e-05/0.01129, allocations: 121.3 kB / 443.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.01129, allocations: 0 / 443.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.01129, allocations: 4 kB / 443.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.01129, allocations: 0 / 443.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.0113, allocations: 8 kB / 443.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.0113, allocations: 3.938 kB / 443.5 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0113, allocations: 0 / 443.5 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.01153, allocations: 336.3 kB / 443.9 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.01154, allocations: 19.78 kB / 443.9 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.01155, allocations: 4 kB / 443.9 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.01157, allocations: 7.938 kB / 443.9 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.01159, allocations: 3.984 kB / 443.9 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.01159, allocations: 4 kB / 443.9 MB, free: 264 kB / 410.7 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.01164, allocations: 116.1 kB / 444 MB, free: 148 kB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01164, allocations: 0 / 444 MB, free: 148 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1545/0.1661, allocations: 333 kB / 444.3 MB, free: 54.11 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.0007729/0.1669, allocations: 411 kB / 444.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1672, allocations: 320 kB / 445.1 MB, free: 53.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1672, allocations: 0 / 445.1 MB, free: 53.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.1673, allocations: 194.6 kB / 445.2 MB, free: 53.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1675, allocations: 19.83 kB / 445.3 MB, free: 53.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.1679, allocations: 421.5 kB / 445.7 MB, free: 53.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.168, allocations: 100.4 kB / 445.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.168, allocations: 11.69 kB / 445.8 MB, free: 53.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.168, allocations: 0 / 445.8 MB, free: 53.52 MB / 410.7 MB Notification: Performance of Templates: time 0.004784/0.1728, allocations: 6.2 MB / 452 MB, free: 53.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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: 7.515664981678128]