Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.001318/0.001318, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001576/0.001576, allocations: 164.8 kB / 24.49 MB, free: 3.453 MB / 14.72 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 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.1968/0.1968, allocations: 29.44 MB / 290.7 MB, free: 3.297 MB / 270.1 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.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 63.89 kB / 431.2 MB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3518, allocations: 62.45 MB / 493.6 MB, free: 37.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00386/0.3556, allocations: 2.532 MB / 496.2 MB, free: 36.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.3563, allocations: 430.3 kB / 496.6 MB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.3564, allocations: 0 / 496.6 MB, free: 35.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3565, allocations: 18.36 kB / 496.6 MB, free: 35.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3567, allocations: 22.23 kB / 496.6 MB, free: 35.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.3568, allocations: 29.59 kB / 496.6 MB, free: 35.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3569, allocations: 102.3 kB / 496.7 MB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.357, allocations: 17.81 kB / 496.8 MB, free: 35.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3572, allocations: 45.47 kB / 496.8 MB, free: 35.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.3573, allocations: 49.78 kB / 496.9 MB, free: 35.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3573, allocations: 6.562 kB / 496.9 MB, free: 35.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.3574, allocations: 9.469 kB / 496.9 MB, free: 35.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.3574, allocations: 15.22 kB / 496.9 MB, free: 35.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.3574, allocations: 35.23 kB / 496.9 MB, free: 35.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3576, allocations: 103.5 kB / 497 MB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3576, allocations: 0 / 497 MB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3576, allocations: 0 / 497 MB, free: 35.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3576, allocations: 0 / 497 MB, free: 35.58 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005837/0.3582, allocations: 335.2 kB / 497.4 MB, free: 35.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3582, allocations: 13.61 kB / 497.4 MB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.3583, allocations: 15.34 kB / 497.4 MB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3585, allocations: 131.5 kB / 497.5 MB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.3585, allocations: 3.5 kB / 497.5 MB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3585, allocations: 14.25 kB / 497.5 MB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.3587, allocations: 95.44 kB / 497.6 MB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3587, allocations: 3.938 kB / 497.6 MB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3588, allocations: 0 / 497.6 MB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3588, allocations: 2.938 kB / 497.6 MB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.359, allocations: 66.8 kB / 497.7 MB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.3597, allocations: 368.8 kB / 498.1 MB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3599, allocations: 93.48 kB / 498.1 MB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3601, allocations: 35.48 kB / 498.2 MB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3601, allocations: 0 / 498.2 MB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.3601, allocations: 37.94 kB / 498.2 MB, free: 34.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3601, allocations: 0 / 498.2 MB, free: 34.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004121/0.3605, allocations: 142.8 kB / 498.4 MB, free: 34.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.3605, allocations: 58.44 kB / 498.4 MB, free: 34.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.3606, allocations: 138.1 kB / 498.5 MB, free: 34.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3606, allocations: 25.7 kB / 498.6 MB, free: 34.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.3607, allocations: 102.7 kB / 498.7 MB, free: 34.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3607, allocations: 23.22 kB / 498.7 MB, free: 34.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3607, allocations: 23.55 kB / 498.7 MB, free: 34.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.3608, allocations: 321.5 kB / 499 MB, free: 33.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3609, allocations: 41.78 kB / 499.1 MB, free: 33.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.361, allocations: 59.72 kB / 499.1 MB, free: 33.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3612, allocations: 100.9 kB / 499.2 MB, free: 33.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3612, allocations: 0 / 499.2 MB, free: 33.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002849/0.3615, allocations: 143.5 kB / 499.4 MB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3615, allocations: 9.312 kB / 499.4 MB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3615, allocations: 3.312 kB / 499.4 MB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3615, allocations: 0 / 499.4 MB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3617, allocations: 29.83 kB / 499.4 MB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3617, allocations: 400 / 499.4 MB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3618, allocations: 13.84 kB / 499.4 MB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3618, allocations: 3.281 kB / 499.4 MB, free: 33.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.786e-05/0.3618, allocations: 121 kB / 499.5 MB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3619, allocations: 13.72 kB / 499.6 MB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3621, allocations: 126 kB / 499.7 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3621, allocations: 3.938 kB / 499.7 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3621, allocations: 3.469 kB / 499.7 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3622, allocations: 3.188 kB / 499.7 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3623, allocations: 138.6 kB / 499.8 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3623, allocations: 0 / 499.8 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3625, allocations: 25.41 kB / 499.9 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3625, allocations: 0 / 499.9 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3625, allocations: 7.938 kB / 499.9 MB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3625, allocations: 0 / 499.9 MB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3625, allocations: 11.31 kB / 499.9 MB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.3629, allocations: 253.5 kB / 0.4884 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.3629, allocations: 7.078 kB / 0.4884 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3629, allocations: 0 / 0.4884 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.363, allocations: 9.891 kB / 0.4884 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.3631, allocations: 11.45 kB / 0.4884 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3631, allocations: 7.219 kB / 0.4884 GB, free: 33.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.3631, allocations: 99.23 kB / 0.4885 GB, free: 33.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3631, allocations: 0 / 0.4885 GB, free: 33.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3634, allocations: 26.84 kB / 0.4886 GB, free: 33.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 6.738e-05/0.3634, allocations: 95.91 kB / 0.4886 GB, free: 32.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3637, allocations: 77.89 kB / 0.4887 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3637, allocations: 0 / 0.4887 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3638, allocations: 48.25 kB / 0.4888 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3641, allocations: 12.27 kB / 0.4888 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3647, allocations: 346.2 kB / 0.4891 GB, free: 32.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.3647, allocations: 79.98 kB / 0.4892 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.3648, allocations: 7.312 kB / 0.4892 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.3648, allocations: 14.75 kB / 0.4892 GB, free: 32.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3648, allocations: 0 / 0.4892 GB, free: 32.61 MB / 446.1 MB Notification: Performance of Templates: time 0.003536/0.3683, allocations: 1.041 MB / 0.4902 GB, free: 32.47 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.997428225004114]