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.001401/0.001401, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.00111/0.00111, allocations: 161 kB / 24.56 MB, free: 12 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 0.9683/0.9683, allocations: 177.1 MB / 205 MB, free: 5.297 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.2893/0.2893, allocations: 29.42 MB / 290.9 MB, free: 2.457 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 2.745e-06/2.745e-06, allocations: 4 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.107e-05, allocations: 5.812 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003416/0.003447, allocations: 2.625 MB / 372.3 MB, free: 8.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.004019, allocations: 450.9 kB / 372.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.004092, allocations: 0 / 372.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.004201, allocations: 7.875 kB / 372.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.004338, allocations: 35.66 kB / 372.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.004456, allocations: 23.95 kB / 372.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.004602, allocations: 103.5 kB / 372.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004717, allocations: 19.98 kB / 372.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.004924, allocations: 63.88 kB / 373 MB, free: 7.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.005007, allocations: 35.89 kB / 373 MB, free: 7.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.005028, allocations: 8 kB / 373 MB, free: 7.613 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.005041, allocations: 8 kB / 373 MB, free: 7.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.005062, allocations: 19.91 kB / 373 MB, free: 7.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.005097, allocations: 27.92 kB / 373.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.005235, allocations: 71.72 kB / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005238, allocations: 0 / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005239, allocations: 0 / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005244, allocations: 3.938 kB / 373.1 MB, free: 7.484 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.00052/0.005764, allocations: 436.2 kB / 373.6 MB, free: 7.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.005807, allocations: 15.97 kB / 373.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.005858, allocations: 16.89 kB / 373.6 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006023, allocations: 139.4 kB / 373.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.006034, allocations: 4.375 kB / 373.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.006058, allocations: 4.375 kB / 373.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.006234, allocations: 86.92 kB / 373.8 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006245, allocations: 3.938 kB / 373.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.006263, allocations: 4 kB / 373.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.00627, allocations: 3.938 kB / 373.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.006333, allocations: 23.97 kB / 373.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.006952, allocations: 410.7 kB / 374.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.007151, allocations: 67.11 kB / 374.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.007187, allocations: 19.67 kB / 374.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.007203, allocations: 4 kB / 374.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.007232, allocations: 37.39 kB / 374.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.007234, allocations: 0 / 374.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002057/0.007439, allocations: 77.72 kB / 374.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.007472, allocations: 59.39 kB / 374.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.007574, allocations: 192.7 kB / 374.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.007587, allocations: 25.7 kB / 374.7 MB, free: 5.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.007655, allocations: 154.8 kB / 374.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.007676, allocations: 23.8 kB / 374.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.007719, allocations: 31.36 kB / 374.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.007843, allocations: 0.4962 MB / 375.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.007878, allocations: 11.98 kB / 375.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.007928, allocations: 46.73 kB / 375.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.658e-05/0.008015, allocations: 62.69 kB / 375.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.00802, allocations: 7.938 kB / 375.6 MB, free: 4.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001283/0.008148, allocations: 97.48 kB / 375.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.008163, allocations: 4 kB / 375.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.008168, allocations: 4.094 kB / 375.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.008191, allocations: 4 kB / 375.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.008289, allocations: 19.98 kB / 375.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.008296, allocations: 4 kB / 375.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.008339, allocations: 11.94 kB / 375.7 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.008349, allocations: 7.938 kB / 375.7 MB, free: 4.672 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 7.569e-05/0.008425, allocations: 160.5 kB / 375.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.008445, allocations: 11.95 kB / 375.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.008595, allocations: 86.38 kB / 376 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008598, allocations: 4 kB / 376 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008602, allocations: 0 / 376 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008605, allocations: 0 / 376 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.008776, allocations: 156.5 kB / 376.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008777, allocations: 0 / 376.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.008848, allocations: 24 kB / 376.1 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.008851, allocations: 3.984 kB / 376.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.008867, allocations: 0 / 376.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.008871, allocations: 3.938 kB / 376.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008872, allocations: 0 / 376.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.009092, allocations: 240.2 kB / 376.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.009109, allocations: 15.97 kB / 376.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.009132, allocations: 0 / 376.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.009186, allocations: 4 kB / 376.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.009232, allocations: 7.984 kB / 376.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.009238, allocations: 4 kB / 376.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.009293, allocations: 143.1 kB / 376.5 MB, free: 3.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009293, allocations: 0 / 376.5 MB, free: 3.758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.009458, allocations: 16 kB / 376.6 MB, free: 3.742 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 9.955e-05/0.009558, allocations: 103.2 kB / 376.7 MB, free: 3.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.009697, allocations: 55.67 kB / 376.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009699, allocations: 0 / 376.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.009743, allocations: 27.61 kB / 376.7 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.009968, allocations: 16.12 kB / 376.8 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009181/0.01089, allocations: 322 kB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.01093, allocations: 63.34 kB / 377.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.01097, allocations: 4 kB / 377.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.01102, allocations: 12.5 kB / 377.2 MB, free: 3.082 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01102, allocations: 7.938 kB / 377.2 MB, free: 3.074 MB / 346.7 MB Notification: Performance of Templates: time 0.003521/0.01454, allocations: 1.112 MB / 378.3 MB, free: 1.973 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.103468601126224]