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.001025/0.001025, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001118/0.001118, allocations: 160.5 kB / 24.99 MB, free: 9.32 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 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2518/0.2518, allocations: 29.42 MB / 291.2 MB, free: 2.516 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.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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.25e-05, allocations: 2.312 kB / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004425/0.004458, allocations: 2.624 MB / 372.2 MB, free: 8.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.005259, allocations: 446.9 kB / 372.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.616e-05/0.005356, allocations: 0 / 372.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.00549, allocations: 11.86 kB / 372.7 MB, free: 8.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.005661, allocations: 23.8 kB / 372.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.005821, allocations: 35.88 kB / 372.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.006013, allocations: 103.5 kB / 372.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.006145, allocations: 12 kB / 372.9 MB, free: 8.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.006392, allocations: 67.8 kB / 372.9 MB, free: 8.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.006493, allocations: 35.95 kB / 373 MB, free: 7.988 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.006517, allocations: 7.938 kB / 373 MB, free: 7.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.006536, allocations: 8 kB / 373 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.006562, allocations: 19.97 kB / 373 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.006611, allocations: 27.92 kB / 373 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.006778, allocations: 71.73 kB / 373.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006781, allocations: 0 / 373.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006782, allocations: 0 / 373.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006787, allocations: 3.938 kB / 373.1 MB, free: 7.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008112/0.007598, allocations: 436.2 kB / 373.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.007644, allocations: 11.98 kB / 373.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.007699, allocations: 20.83 kB / 373.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.007878, allocations: 144.4 kB / 373.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.007889, allocations: 4.375 kB / 373.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.007915, allocations: 8.375 kB / 373.7 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.008074, allocations: 82.91 kB / 373.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.008086, allocations: 7.938 kB / 373.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.008097, allocations: 0 / 373.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.008105, allocations: 0 / 373.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.008169, allocations: 27.92 kB / 373.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.008757, allocations: 410.7 kB / 374.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.008928, allocations: 71.09 kB / 374.3 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.008964, allocations: 15.69 kB / 374.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.008979, allocations: 4 kB / 374.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.009003, allocations: 33.39 kB / 374.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.009004, allocations: 0 / 374.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002058/0.00921, allocations: 81.56 kB / 374.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.009238, allocations: 51.41 kB / 374.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.009329, allocations: 189.9 kB / 374.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.009341, allocations: 29.7 kB / 374.7 MB, free: 6.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.009404, allocations: 158.8 kB / 374.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.009422, allocations: 19.8 kB / 374.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.00946, allocations: 31.36 kB / 374.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.00957, allocations: 0.4961 MB / 375.4 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.0096, allocations: 8 kB / 375.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.009646, allocations: 46.73 kB / 375.4 MB, free: 5.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.009727, allocations: 74.81 kB / 375.5 MB, free: 5.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00973, allocations: 0 / 375.5 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.009844, allocations: 89.52 kB / 375.6 MB, free: 5.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.009859, allocations: 8 kB / 375.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009863, allocations: 0 / 375.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.009876, allocations: 0 / 375.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.00996, allocations: 27.98 kB / 375.6 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.009967, allocations: 4 kB / 375.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.01001, allocations: 15.89 kB / 375.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.01002, allocations: 11.92 kB / 375.7 MB, free: 5.031 MB / 346.7 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 6.976e-05/0.01009, allocations: 164.6 kB / 375.8 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.01011, allocations: 7.953 kB / 375.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.01024, allocations: 82.39 kB / 375.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01024, allocations: 7.984 kB / 375.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01025, allocations: 0 / 375.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01025, allocations: 0 / 375.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.0104, allocations: 148.5 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0104, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.01046, allocations: 23.98 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01047, allocations: 4 kB / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01048, allocations: 4 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01048, allocations: 0 / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01048, allocations: 0 / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.01067, allocations: 244.2 kB / 376.3 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.01069, allocations: 3.953 kB / 376.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.0107, allocations: 8 kB / 376.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.01075, allocations: 4 kB / 376.4 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.01079, allocations: 3.984 kB / 376.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.01079, allocations: 4 kB / 376.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.01084, allocations: 153.9 kB / 376.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01084, allocations: 4.031 kB / 376.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000157/0.011, allocations: 16 kB / 376.5 MB, free: 4.102 MB / 346.7 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 8.435e-05/0.01108, allocations: 95.23 kB / 376.6 MB, free: 3.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.01121, allocations: 63.59 kB / 376.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01121, allocations: 0 / 376.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.01124, allocations: 27.61 kB / 376.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.01145, allocations: 12.12 kB / 376.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/0.01227, allocations: 314.1 kB / 377 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.01231, allocations: 63.34 kB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.01235, allocations: 8 kB / 377.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.01239, allocations: 16.48 kB / 377.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01239, allocations: 0 / 377.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of Templates: time 0.002918/0.0153, allocations: 1.066 MB / 378.2 MB, free: 2.395 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0786035358905792]