Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.002211/0.002211, allocations: 91.61 kB / 20.96 MB, free: 3.469 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.002157/0.002157, allocations: 169.3 kB / 24.28 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3068/0.3068, allocations: 29.4 MB / 290.5 MB, free: 2.43 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.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.77e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01143/0.01146, allocations: 7.521 MB / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.0177, allocations: 2.941 MB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.01814, allocations: 39.69 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.02025, allocations: 0.731 MB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.02205, allocations: 0.7303 MB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.02305, allocations: 386.9 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.02494, allocations: 1.391 MB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009333/0.02588, allocations: 0.5412 MB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.0273, allocations: 0.7674 MB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.02834, allocations: 0.596 MB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.02849, allocations: 72 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.02956, allocations: 0.495 MB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005563/0.03011, allocations: 482.8 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.03065, allocations: 363.2 kB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.03274, allocations: 1.453 MB / 387.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.03274, allocations: 0 / 387.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.03274, allocations: 0 / 387.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.03276, allocations: 4 kB / 387.4 MB, free: 8.754 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002682/0.03544, allocations: 1.405 MB / 388.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.03548, allocations: 8.031 kB / 388.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.0369, allocations: 300.1 kB / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.03863, allocations: 0.6949 MB / 389.8 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.0387, allocations: 70.3 kB / 389.9 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.03896, allocations: 96.66 kB / 389.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.04049, allocations: 0.8388 MB / 390.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.04052, allocations: 11.89 kB / 390.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.0406, allocations: 36 kB / 390.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.04079, allocations: 73.95 kB / 390.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.04205, allocations: 483.5 kB / 391.4 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006759/0.04881, allocations: 4.077 MB / 395.5 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.04942, allocations: 247.9 kB / 395.7 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.04974, allocations: 152.9 kB / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.04979, allocations: 12.5 kB / 395.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.04983, allocations: 41.88 kB / 395.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.04983, allocations: 0 / 395.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002761/0.0526, allocations: 1.246 MB / 397.1 MB, free: 14.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.05267, allocations: 85.64 kB / 397.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.05349, allocations: 0.6508 MB / 397.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.05353, allocations: 37.64 kB / 397.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006812/0.05421, allocations: 0.5492 MB / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.05443, allocations: 214.3 kB / 398.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.05468, allocations: 160.3 kB / 398.8 MB, free: 12.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003789/0.05506, allocations: 0.5821 MB / 399.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.05534, allocations: 129.9 kB / 399.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.05595, allocations: 468.6 kB / 400 MB, free: 11.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.05692, allocations: 0.6387 MB / 400.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.05693, allocations: 4 kB / 400.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001886/0.05882, allocations: 0.7915 MB / 401.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.05884, allocations: 11.98 kB / 401.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001191/0.06003, allocations: 483.9 kB / 401.9 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/0.06089, allocations: 195 kB / 402.1 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.06146, allocations: 155.7 kB / 402.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006601/0.06806, allocations: 5.95 MB / 408.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.06856, allocations: 47.94 kB / 408.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.06861, allocations: 28 kB / 408.3 MB, free: 2.715 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004369/0.06905, allocations: 228.4 kB / 408.5 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.06921, allocations: 87.52 kB / 408.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009038/0.07011, allocations: 432 kB / 409 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.07012, allocations: 8 kB / 409 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.07012, allocations: 3.938 kB / 409 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.07013, allocations: 7.984 kB / 409 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.07282, allocations: 1.271 MB / 410.3 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.07282, allocations: 0 / 410.3 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.07349, allocations: 128 kB / 410.4 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.0735, allocations: 4 kB / 410.4 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.07355, allocations: 19.98 kB / 410.5 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.07355, allocations: 4 kB / 410.5 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.07356, allocations: 4 kB / 410.5 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.07479, allocations: 0.7405 MB / 411.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.07509, allocations: 103.5 kB / 411.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.07519, allocations: 19.89 kB / 411.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.0755, allocations: 19.98 kB / 411.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.07558, allocations: 44.31 kB / 411.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.07562, allocations: 19.98 kB / 411.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005226/0.07614, allocations: 402.8 kB / 411.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07614, allocations: 0 / 411.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008543/0.077, allocations: 227.9 kB / 412 MB, free: 14.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003224/0.07732, allocations: 135.1 kB / 412.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.07915, allocations: 1.05 MB / 413.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.07915, allocations: 0 / 413.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.0795, allocations: 191.4 kB / 413.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/0.08028, allocations: 145.8 kB / 413.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.08331, allocations: 1.728 MB / 415.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.0839, allocations: 462.5 kB / 415.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.08434, allocations: 165.3 kB / 415.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.08451, allocations: 60.48 kB / 415.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.08451, allocations: 0 / 415.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of Templates: time 0.01876/0.1033, allocations: 8.645 MB / 424.6 MB, free: 2.27 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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: 5.091560299042612]