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.00207/0.00207, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.001704/0.001704, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1888/0.1888, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.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.002169/0.002169, allocations: 75.88 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4163, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00472/0.421, allocations: 2.534 MB / 0.5449 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008127/0.4218, allocations: 426.4 kB / 0.5453 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.4219, allocations: 1.312 kB / 0.5453 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.4221, allocations: 17.17 kB / 0.5453 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.4222, allocations: 26.52 kB / 0.5453 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.4223, allocations: 24.09 kB / 0.5454 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.4225, allocations: 95.52 kB / 0.5455 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4226, allocations: 22.8 kB / 0.5455 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.4228, allocations: 48.47 kB / 0.5455 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.4229, allocations: 41.52 kB / 0.5456 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.4229, allocations: 8.25 kB / 0.5456 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.4229, allocations: 6.875 kB / 0.5456 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.423, allocations: 22.67 kB / 0.5456 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.423, allocations: 36.22 kB / 0.5456 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.4232, allocations: 93.33 kB / 0.5457 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4232, allocations: 1.375 kB / 0.5457 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4232, allocations: 0 / 0.5457 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.4232, allocations: 4 kB / 0.5457 GB, free: 13.84 MB / 398.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.0006848/0.4239, allocations: 343 kB / 0.5461 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4239, allocations: 14.02 kB / 0.5461 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.424, allocations: 13.56 kB / 0.5461 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4242, allocations: 134.8 kB / 0.5462 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4242, allocations: 3 kB / 0.5462 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.4243, allocations: 11.59 kB / 0.5462 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.4245, allocations: 94.64 kB / 0.5463 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4245, allocations: 1.062 kB / 0.5463 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4246, allocations: 9.062 kB / 0.5463 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4246, allocations: 1.25 kB / 0.5463 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.4248, allocations: 78.16 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.4256, allocations: 361.2 kB / 0.5467 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.426, allocations: 96.72 kB / 0.5468 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4261, allocations: 33.03 kB / 0.5469 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4261, allocations: 1.188 kB / 0.5469 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4262, allocations: 33 kB / 0.5469 GB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4262, allocations: 0 / 0.5469 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004929/0.4267, allocations: 144.4 kB / 0.547 GB, free: 12.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4267, allocations: 52.53 kB / 0.5471 GB, free: 12.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.4268, allocations: 138.9 kB / 0.5472 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4269, allocations: 27.3 kB / 0.5472 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.427, allocations: 108.4 kB / 0.5473 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.427, allocations: 22.89 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.427, allocations: 27.95 kB / 0.5474 GB, free: 12.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4272, allocations: 321.8 kB / 0.5477 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4274, allocations: 29.73 kB / 0.5477 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.4275, allocations: 64.62 kB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.4277, allocations: 96.52 kB / 0.5479 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4277, allocations: 1.219 kB / 0.5479 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003139/0.4281, allocations: 132.6 kB / 0.548 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4281, allocations: 12.22 kB / 0.548 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4281, allocations: 2.578 kB / 0.548 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4281, allocations: 1.438 kB / 0.548 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.4283, allocations: 28.05 kB / 0.5481 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.4283, allocations: 1.562 kB / 0.5481 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4284, allocations: 18.05 kB / 0.5481 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4284, allocations: 3.312 kB / 0.5481 GB, free: 11.77 MB / 398.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 0.0001074/0.4285, allocations: 114 kB / 0.5482 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4286, allocations: 11.8 kB / 0.5482 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.4289, allocations: 131 kB / 0.5483 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4289, allocations: 4.844 kB / 0.5483 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4289, allocations: 4 kB / 0.5483 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.4289, allocations: 5.078 kB / 0.5483 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.4292, allocations: 143.3 kB / 0.5485 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4292, allocations: 3.938 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.4293, allocations: 23.27 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4293, allocations: 5.312 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4293, allocations: 4 kB / 0.5485 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4293, allocations: 5.062 kB / 0.5485 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4293, allocations: 3.938 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.4298, allocations: 250.5 kB / 0.5488 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.4299, allocations: 15.09 kB / 0.5488 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.4299, allocations: 1.125 kB / 0.5488 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.43, allocations: 8.656 kB / 0.5488 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.4301, allocations: 14.77 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4301, allocations: 1.125 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.4301, allocations: 101.9 kB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4301, allocations: 0 / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.4304, allocations: 21.84 kB / 0.5489 GB, free: 11.05 MB / 398.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 0.0001178/0.4305, allocations: 102.4 kB / 0.549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4308, allocations: 78.2 kB / 0.5491 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4308, allocations: 4.188 kB / 0.5491 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.431, allocations: 43.03 kB / 0.5491 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.4312, allocations: 8.906 kB / 0.5491 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.432, allocations: 336.5 kB / 0.5495 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4321, allocations: 80.61 kB / 0.5495 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.4321, allocations: 10.8 kB / 0.5495 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.4322, allocations: 12.47 kB / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4322, allocations: 0 / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Templates: time 0.004184/0.4364, allocations: 1.134 MB / 0.5507 GB, free: 9.957 MB / 398.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 -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/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: 5.457977598533034]