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.00104/0.00104, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001314/0.001314, allocations: 170.2 kB / 24.82 MB, free: 9.262 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2695/0.2695, allocations: 29.43 MB / 291.2 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 1.473e-06/1.473e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.424e-05, allocations: 2.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00323/0.003245, allocations: 2.621 MB / 372.7 MB, free: 8.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.003731, allocations: 446.9 kB / 373.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.003789, allocations: 0 / 373.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.463e-05/0.003864, allocations: 15.8 kB / 373.2 MB, free: 7.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.003951, allocations: 23.73 kB / 373.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.556e-05/0.004016, allocations: 27.95 kB / 373.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.004117, allocations: 103.5 kB / 373.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.02e-05/0.004187, allocations: 15.98 kB / 373.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004323, allocations: 59.88 kB / 373.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.004381, allocations: 39.89 kB / 373.4 MB, free: 7.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.004397, allocations: 12 kB / 373.5 MB, free: 7.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.004408, allocations: 8 kB / 373.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.004425, allocations: 19.91 kB / 373.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.004454, allocations: 31.91 kB / 373.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.662e-05/0.004551, allocations: 71.67 kB / 373.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004552, allocations: 0 / 373.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004553, allocations: 0 / 373.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.534e-06/0.004556, allocations: 0 / 373.6 MB, free: 7.215 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.000365/0.00492, allocations: 440.2 kB / 374 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.004949, allocations: 11.98 kB / 374 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.004976, allocations: 16.89 kB / 374 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.005079, allocations: 136.5 kB / 374.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.005086, allocations: 384 / 374.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.005104, allocations: 12.36 kB / 374.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005211, allocations: 85.8 kB / 374.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00522, allocations: 7.938 kB / 374.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.005229, allocations: 8 kB / 374.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005233, allocations: 4 kB / 374.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.00527, allocations: 15.98 kB / 374.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.005663, allocations: 383.3 kB / 374.7 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.005784, allocations: 67.09 kB / 374.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.005808, allocations: 15.67 kB / 374.8 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.00582, allocations: 4 kB / 374.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.005838, allocations: 37.39 kB / 374.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005839, allocations: 0 / 374.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001239/0.005963, allocations: 73.58 kB / 374.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.005982, allocations: 55.34 kB / 374.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.006059, allocations: 194 kB / 375.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.006068, allocations: 25.7 kB / 375.1 MB, free: 5.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.006116, allocations: 150.9 kB / 375.3 MB, free: 5.336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.006134, allocations: 31.77 kB / 375.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.006165, allocations: 27.38 kB / 375.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.006267, allocations: 0.4922 MB / 375.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.006285, allocations: 11.98 kB / 375.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.006318, allocations: 42.73 kB / 375.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.006375, allocations: 66.67 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006376, allocations: 0 / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.797e-05/0.006464, allocations: 85.5 kB / 376 MB, free: 4.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.006475, allocations: 10.97 kB / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.006479, allocations: 0 / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.006486, allocations: 0 / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.006558, allocations: 23.98 kB / 376.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.006562, allocations: 12.08 kB / 376.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.0066, allocations: 11.95 kB / 376.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006604, allocations: 0 / 376.1 MB, free: 4.469 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 5.788e-05/0.006662, allocations: 164.5 kB / 376.3 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.006681, allocations: 11.95 kB / 376.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.006776, allocations: 86.36 kB / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006778, allocations: 0 / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006779, allocations: 0 / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006782, allocations: 0 / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.006905, allocations: 133.1 kB / 376.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006906, allocations: 4 kB / 376.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.006965, allocations: 23.92 kB / 376.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006967, allocations: 4 kB / 376.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006975, allocations: 0 / 376.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006975, allocations: 0 / 376.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006976, allocations: 0 / 376.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.007115, allocations: 236.2 kB / 376.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.007125, allocations: 7.938 kB / 376.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.007136, allocations: 8 kB / 376.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.007181, allocations: 4 kB / 376.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.007204, allocations: 15.95 kB / 376.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007207, allocations: 0 / 376.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.007249, allocations: 143.1 kB / 376.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007249, allocations: 0 / 376.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.007395, allocations: 27.94 kB / 376.9 MB, free: 3.559 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 5.822e-05/0.007453, allocations: 91.25 kB / 377 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.007533, allocations: 47.66 kB / 377.1 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.007533, allocations: 0 / 377.1 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.007561, allocations: 23.86 kB / 377.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.007722, allocations: 16.12 kB / 377.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.008339, allocations: 317.8 kB / 377.4 MB, free: 3.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.008371, allocations: 63.28 kB / 377.5 MB, free: 2.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.008403, allocations: 11.98 kB / 377.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.008464, allocations: 82.19 kB / 377.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008465, allocations: 0 / 377.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of Templates: time 0.002275/0.01074, allocations: 1.137 MB / 378.7 MB, free: 1.727 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.043199099134654]