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.001892/0.001892, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002028/0.002028, allocations: 165.3 kB / 24.27 MB, free: 152 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3324/0.3324, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 1.413e-06/1.413e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.89e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004355/0.004384, allocations: 2.586 MB / 371.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.005165, allocations: 438.8 kB / 371.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.005243, allocations: 8 kB / 371.9 MB, free: 8.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.005351, allocations: 11.86 kB / 371.9 MB, free: 8.273 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.005489, allocations: 23.78 kB / 371.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.005601, allocations: 27.95 kB / 372 MB, free: 8.223 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.005777, allocations: 103.5 kB / 372.1 MB, free: 8.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005884, allocations: 11.98 kB / 372.1 MB, free: 8.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.006118, allocations: 71.8 kB / 372.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.00622, allocations: 35.89 kB / 372.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.006248, allocations: 12 kB / 372.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.006271, allocations: 8 kB / 372.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.006304, allocations: 19.91 kB / 372.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.006354, allocations: 27.92 kB / 372.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.006545, allocations: 99.66 kB / 372.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006548, allocations: 0 / 372.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00655, allocations: 0 / 372.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006555, allocations: 0 / 372.3 MB, free: 7.84 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.0007617/0.007317, allocations: 443.8 kB / 372.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.007359, allocations: 15.98 kB / 372.8 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.007417, allocations: 12.89 kB / 372.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.007633, allocations: 140.4 kB / 372.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.007645, allocations: 8.312 kB / 372.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.007675, allocations: 16.3 kB / 373 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.0079, allocations: 78.22 kB / 373 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.007921, allocations: 7.938 kB / 373 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.007933, allocations: 0 / 373 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.007937, allocations: 4 kB / 373 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.008138, allocations: 63.95 kB / 373.1 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.009085, allocations: 422.7 kB / 373.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.009431, allocations: 99.14 kB / 373.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.009534, allocations: 31.69 kB / 373.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.009553, allocations: 0 / 373.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.009592, allocations: 41.31 kB / 373.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.009593, allocations: 8 kB / 373.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000438/0.01003, allocations: 117.7 kB / 373.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.01009, allocations: 59.41 kB / 373.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.01028, allocations: 200.7 kB / 374.1 MB, free: 5.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.0103, allocations: 29.7 kB / 374.1 MB, free: 5.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.01043, allocations: 150.9 kB / 374.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.01047, allocations: 27.73 kB / 374.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.01053, allocations: 31.38 kB / 374.3 MB, free: 5.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002873/0.01082, allocations: 0.4961 MB / 374.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.01092, allocations: 31.98 kB / 374.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.01105, allocations: 70.67 kB / 374.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.01127, allocations: 102.7 kB / 375 MB, free: 4.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01127, allocations: 0 / 375 MB, free: 4.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002843/0.01155, allocations: 117.5 kB / 375.1 MB, free: 4.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.01157, allocations: 12.09 kB / 375.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01158, allocations: 0 / 375.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01159, allocations: 0 / 375.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01174, allocations: 27.98 kB / 375.2 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01175, allocations: 7.938 kB / 375.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.01184, allocations: 11.94 kB / 375.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.01186, allocations: 7.938 kB / 375.2 MB, free: 4.758 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 0.0001367/0.01199, allocations: 160.6 kB / 375.3 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.01203, allocations: 11.95 kB / 375.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.01261, allocations: 114.4 kB / 375.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.01261, allocations: 8 kB / 375.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01262, allocations: 7.875 kB / 375.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01262, allocations: 0 / 375.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.01291, allocations: 164.5 kB / 375.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01291, allocations: 0 / 375.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.01305, allocations: 23.98 kB / 375.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01305, allocations: 0 / 375.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.01307, allocations: 4 kB / 375.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01307, allocations: 0 / 375.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01307, allocations: 4 kB / 375.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.01354, allocations: 288.3 kB / 376 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01357, allocations: 15.84 kB / 376 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01359, allocations: 7.984 kB / 376 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.0137, allocations: 4 kB / 376 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.01377, allocations: 7.984 kB / 376 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.01377, allocations: 0 / 376 MB, free: 3.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01388, allocations: 147.2 kB / 376.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01388, allocations: 0 / 376.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00024/0.01412, allocations: 20 kB / 376.1 MB, free: 3.723 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 0.0001255/0.01425, allocations: 95.28 kB / 376.2 MB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.01454, allocations: 91.77 kB / 376.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.01454, allocations: 4 kB / 376.3 MB, free: 3.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01467, allocations: 39.67 kB / 376.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.01494, allocations: 15.94 kB / 376.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.01564, allocations: 286.3 kB / 376.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.01574, allocations: 85.45 kB / 376.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.0158, allocations: 7.984 kB / 376.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.01585, allocations: 12.5 kB / 376.8 MB, free: 3.023 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01585, allocations: 4 kB / 376.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of Templates: time 0.004378/0.02023, allocations: 1.069 MB / 377.8 MB, free: 1.969 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","/var/lib/jenkins/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.779928721953183]