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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 183.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.182/0.182, allocations: 38.55 MB / 346.3 MB, free: 2.113 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002002/0.002002, allocations: 71.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3949, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004075/0.399, allocations: 2.554 MB / 0.5355 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.3995, allocations: 442.5 kB / 0.536 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.3996, allocations: 5.562 kB / 0.536 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3997, allocations: 12.91 kB / 0.536 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3999, allocations: 30.19 kB / 0.536 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.4, allocations: 24.62 kB / 0.536 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.4001, allocations: 98.19 kB / 0.5361 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4002, allocations: 17.41 kB / 0.5361 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4004, allocations: 39.56 kB / 0.5362 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.4005, allocations: 58.36 kB / 0.5362 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.4005, allocations: 6.875 kB / 0.5362 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.4005, allocations: 8.25 kB / 0.5362 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.4005, allocations: 17.81 kB / 0.5363 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.4006, allocations: 40.8 kB / 0.5363 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.4007, allocations: 99.25 kB / 0.5364 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4007, allocations: 0 / 0.5364 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4007, allocations: 1.094 kB / 0.5364 GB, free: 3.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4007, allocations: 0 / 0.5364 GB, free: 3.223 MB / 382.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.0006297/0.4014, allocations: 339.1 kB / 0.5367 GB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4014, allocations: 9.719 kB / 0.5367 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.4015, allocations: 9.016 kB / 0.5367 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4017, allocations: 139.5 kB / 0.5369 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4017, allocations: 7.125 kB / 0.5369 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.4017, allocations: 8.219 kB / 0.5369 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.402, allocations: 102.4 kB / 0.537 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.402, allocations: 1.25 kB / 0.537 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.402, allocations: 3.984 kB / 0.537 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.402, allocations: 2.594 kB / 0.537 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.4023, allocations: 71.61 kB / 0.5371 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.403, allocations: 412.1 kB / 0.5374 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.4034, allocations: 91.53 kB / 0.5375 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4035, allocations: 35.59 kB / 0.5376 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4035, allocations: 3.938 kB / 0.5376 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.4035, allocations: 36.44 kB / 0.5376 GB, free: 2.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4035, allocations: 0 / 0.5376 GB, free: 2.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004491/0.404, allocations: 136.4 kB / 0.5377 GB, free: 2.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.404, allocations: 56.69 kB / 0.5378 GB, free: 1.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.4041, allocations: 139.5 kB / 0.5379 GB, free: 1.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4041, allocations: 29.7 kB / 0.538 GB, free: 1.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.4042, allocations: 100.1 kB / 0.538 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.4042, allocations: 31.92 kB / 0.5381 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.4042, allocations: 20.12 kB / 0.5381 GB, free: 1.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.4043, allocations: 320.8 kB / 0.5384 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4044, allocations: 42.41 kB / 0.5384 GB, free: 1.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4045, allocations: 55.41 kB / 0.5385 GB, free: 1.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.4047, allocations: 104.4 kB / 0.5386 GB, free: 1.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4047, allocations: 0 / 0.5386 GB, free: 1.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000284/0.405, allocations: 136.6 kB / 0.5387 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.405, allocations: 7.219 kB / 0.5387 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.405, allocations: 1.375 kB / 0.5387 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4051, allocations: 1.375 kB / 0.5387 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.4052, allocations: 36.47 kB / 0.5388 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4052, allocations: 1.375 kB / 0.5388 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.4053, allocations: 10.83 kB / 0.5388 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4053, allocations: 2.75 kB / 0.5388 GB, free: 1.102 MB / 382.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 7.195e-05/0.4054, allocations: 129.9 kB / 0.5389 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.4054, allocations: 8.078 kB / 0.5389 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.4057, allocations: 126.3 kB / 0.539 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4057, allocations: 5.312 kB / 0.539 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4057, allocations: 0 / 0.539 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4058, allocations: 192 / 0.539 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.406, allocations: 177.4 kB / 0.5392 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.406, allocations: 5.312 kB / 0.5392 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4061, allocations: 29.86 kB / 0.5392 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4061, allocations: 1.375 kB / 0.5392 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4061, allocations: 5.375 kB / 0.5393 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4061, allocations: 7.875 kB / 0.5393 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4061, allocations: 0 / 0.5393 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.4066, allocations: 258.9 kB / 0.5395 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.4066, allocations: 6.703 kB / 0.5395 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.4066, allocations: 5.359 kB / 0.5395 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4067, allocations: 8.062 kB / 0.5395 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.4068, allocations: 10.73 kB / 0.5395 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4068, allocations: 1.375 kB / 0.5395 GB, free: 440 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.4068, allocations: 110.2 kB / 0.5396 GB, free: 348 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4068, allocations: 0 / 0.5396 GB, free: 348 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.4071, allocations: 20.5 kB / 0.5397 GB, free: 344 kB / 382.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 7.931e-05/0.4072, allocations: 95.69 kB / 0.5398 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.4075, allocations: 78.77 kB / 0.5398 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4075, allocations: 0 / 0.5398 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4076, allocations: 38.41 kB / 0.5399 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.4079, allocations: 13.56 kB / 0.5399 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.4085, allocations: 344.8 kB / 0.5402 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.4089, allocations: 0.6941 MB / 0.5409 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.4089, allocations: 12.81 kB / 0.5409 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.409, allocations: 11.19 kB / 0.5409 GB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.409, allocations: 3.938 kB / 0.5409 GB, free: 15.2 MB / 398.1 MB Notification: Performance of Templates: time 0.004407/0.4134, allocations: 1.112 MB / 0.542 GB, free: 14.64 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.260445274412632]