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.001781/0.001781, allocations: 113 kB / 19.04 MB, free: 3.254 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.002053/0.002053, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.1841/0.1841, allocations: 38.52 MB / 344.5 MB, free: 2.547 MB / 270.1 MB " [Timeout remaining time 180] 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.002004/0.002004, allocations: 67.89 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3829, allocations: 61.25 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004208/0.3872, allocations: 2.522 MB / 0.533 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006138/0.3878, allocations: 448.1 kB / 0.5335 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.3879, allocations: 5.438 kB / 0.5335 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.388, allocations: 10.92 kB / 0.5335 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.3881, allocations: 26.61 kB / 0.5335 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.3883, allocations: 24.03 kB / 0.5335 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3884, allocations: 100.9 kB / 0.5336 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3886, allocations: 11.86 kB / 0.5336 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3887, allocations: 43.69 kB / 0.5337 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3888, allocations: 53.14 kB / 0.5337 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3888, allocations: 7.719 kB / 0.5337 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.28e-05/0.3888, allocations: 11.5 kB / 0.5337 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3889, allocations: 18.47 kB / 0.5338 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.3889, allocations: 40.97 kB / 0.5338 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.3891, allocations: 93.17 kB / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3891, allocations: 1.125 kB / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3891, allocations: 0 / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3891, allocations: 0 / 0.5339 GB, free: 3.211 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.0006522/0.3898, allocations: 421.4 kB / 0.5343 GB, free: 2.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3898, allocations: 13.39 kB / 0.5343 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.3898, allocations: 10.83 kB / 0.5343 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3901, allocations: 198.3 kB / 0.5345 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3901, allocations: 10.44 kB / 0.5345 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3901, allocations: 12.44 kB / 0.5345 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3904, allocations: 95.7 kB / 0.5346 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3904, allocations: 4 kB / 0.5346 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3904, allocations: 5.312 kB / 0.5346 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3904, allocations: 1.438 kB / 0.5346 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.3906, allocations: 74.31 kB / 0.5347 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.3914, allocations: 456.2 kB / 0.5351 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3917, allocations: 92.27 kB / 0.5352 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3919, allocations: 35.5 kB / 0.5353 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3919, allocations: 5.703 kB / 0.5353 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3919, allocations: 31.36 kB / 0.5353 GB, free: 1.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3919, allocations: 3.938 kB / 0.5353 GB, free: 1.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000432/0.3923, allocations: 136.1 kB / 0.5354 GB, free: 1.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.3924, allocations: 61.12 kB / 0.5355 GB, free: 1.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.3925, allocations: 136.3 kB / 0.5356 GB, free: 1.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3925, allocations: 25.7 kB / 0.5356 GB, free: 1.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.3925, allocations: 104.8 kB / 0.5357 GB, free: 1.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3925, allocations: 24.61 kB / 0.5358 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3926, allocations: 29.38 kB / 0.5358 GB, free: 1.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.3926, allocations: 321 kB / 0.5361 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3928, allocations: 32.5 kB / 0.5361 GB, free: 1.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3929, allocations: 59.73 kB / 0.5362 GB, free: 1.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3931, allocations: 106.7 kB / 0.5363 GB, free: 1.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3931, allocations: 1.375 kB / 0.5363 GB, free: 1.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000273/0.3934, allocations: 134 kB / 0.5364 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3934, allocations: 9.594 kB / 0.5364 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3934, allocations: 0 / 0.5364 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3934, allocations: 2.75 kB / 0.5364 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3936, allocations: 28.55 kB / 0.5364 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3936, allocations: 1.375 kB / 0.5364 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.995e-05/0.3937, allocations: 17.44 kB / 0.5365 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3937, allocations: 8.062 kB / 0.5365 GB, free: 1.023 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 6.569e-05/0.3937, allocations: 117.9 kB / 0.5366 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.3938, allocations: 12.08 kB / 0.5366 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.3941, allocations: 122.3 kB / 0.5367 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3941, allocations: 3.938 kB / 0.5367 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3941, allocations: 1.375 kB / 0.5367 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3941, allocations: 192 / 0.5367 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3943, allocations: 210.3 kB / 0.5369 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3943, allocations: 3.938 kB / 0.5369 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3944, allocations: 31.16 kB / 0.537 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3944, allocations: 7.938 kB / 0.537 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3945, allocations: 5.375 kB / 0.537 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3945, allocations: 3.938 kB / 0.537 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3945, allocations: 5.375 kB / 0.537 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3948, allocations: 245.6 kB / 0.5372 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.3949, allocations: 87.88 kB / 0.5373 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3949, allocations: 1.375 kB / 0.5373 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.395, allocations: 16.05 kB / 0.5373 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.3951, allocations: 6.688 kB / 0.5373 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3951, allocations: 5.359 kB / 0.5373 GB, free: 236 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.45e-05/0.3951, allocations: 105.8 kB / 0.5374 GB, free: 148 kB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3951, allocations: 0 / 0.5374 GB, free: 148 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3954, allocations: 21.19 kB / 0.5374 GB, free: 144 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 0.0001025/0.3955, allocations: 105 kB / 0.5375 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.3958, allocations: 81.28 kB / 0.5376 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3958, allocations: 1.719 kB / 0.5376 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3959, allocations: 33.98 kB / 0.5377 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3962, allocations: 12.05 kB / 0.5377 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.3969, allocations: 349.2 kB / 0.538 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3973, allocations: 0.6976 MB / 0.5387 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.3974, allocations: 7.422 kB / 0.5387 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.3974, allocations: 11.97 kB / 0.5387 GB, free: 15 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3974, allocations: 0 / 0.5387 GB, free: 15 MB / 398.1 MB Notification: Performance of Templates: time 0.004194/0.4016, allocations: 1.089 MB / 0.5398 GB, free: 14.45 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: 4.9917756374925375]