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.00133/0.00133, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001375/0.001375, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.395/1.395, allocations: 230.6 MB / 258.2 MB, free: 8.047 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.1747/0.1747, allocations: 38.51 MB / 353.2 MB, free: 12.59 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.001946/0.001946, allocations: 70.8 kB / 493.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2883, allocations: 62.47 MB / 0.5432 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003782/0.2921, allocations: 2.578 MB / 0.5457 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.2927, allocations: 467 kB / 0.5462 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.2928, allocations: 5.312 kB / 0.5462 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2929, allocations: 13.23 kB / 0.5462 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.293, allocations: 22.53 kB / 0.5462 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.573e-05/0.2931, allocations: 30.7 kB / 0.5463 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.2933, allocations: 100.7 kB / 0.5463 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.2934, allocations: 13.33 kB / 0.5464 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2935, allocations: 48.67 kB / 0.5464 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.2936, allocations: 51.5 kB / 0.5465 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2937, allocations: 7 kB / 0.5465 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.2937, allocations: 8.219 kB / 0.5465 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.2937, allocations: 17.73 kB / 0.5465 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.2938, allocations: 42.77 kB / 0.5465 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.2939, allocations: 98.84 kB / 0.5466 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2939, allocations: 4 kB / 0.5466 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2939, allocations: 0 / 0.5466 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2939, allocations: 0 / 0.5466 GB, free: 13.94 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.0006596/0.2946, allocations: 337.2 kB / 0.5469 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2946, allocations: 13.7 kB / 0.547 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2947, allocations: 14.16 kB / 0.547 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.2949, allocations: 134.3 kB / 0.5471 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2949, allocations: 7.781 kB / 0.5471 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.2949, allocations: 12.66 kB / 0.5471 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.2952, allocations: 98.02 kB / 0.5472 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2952, allocations: 0 / 0.5472 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2952, allocations: 1.156 kB / 0.5472 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2952, allocations: 1.188 kB / 0.5472 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2954, allocations: 78.03 kB / 0.5473 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.2962, allocations: 404.2 kB / 0.5477 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.2965, allocations: 91.88 kB / 0.5478 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2966, allocations: 39.16 kB / 0.5478 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2967, allocations: 0 / 0.5478 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2967, allocations: 35.58 kB / 0.5478 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2967, allocations: 0 / 0.5478 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004314/0.2971, allocations: 133.3 kB / 0.548 GB, free: 12.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2972, allocations: 60.25 kB / 0.548 GB, free: 12.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2973, allocations: 150.7 kB / 0.5482 GB, free: 12.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2973, allocations: 30.98 kB / 0.5482 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.2974, allocations: 103.5 kB / 0.5483 GB, free: 12.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2974, allocations: 28.09 kB / 0.5483 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.2975, allocations: 28.03 kB / 0.5483 GB, free: 12.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2976, allocations: 316.3 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2977, allocations: 35.16 kB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2978, allocations: 63.22 kB / 0.5487 GB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.298, allocations: 104.3 kB / 0.5488 GB, free: 11.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.298, allocations: 0 / 0.5488 GB, free: 11.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002892/0.2983, allocations: 129.1 kB / 0.549 GB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2984, allocations: 4.812 kB / 0.549 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2984, allocations: 1.156 kB / 0.549 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2984, allocations: 1.156 kB / 0.549 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2985, allocations: 36.91 kB / 0.549 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2985, allocations: 6.25 kB / 0.549 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2986, allocations: 9.484 kB / 0.549 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2986, allocations: 3.25 kB / 0.549 GB, free: 11.81 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 9.353e-05/0.2987, allocations: 122.1 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.2988, allocations: 12.25 kB / 0.5492 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.2991, allocations: 122.9 kB / 0.5493 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2991, allocations: 7.938 kB / 0.5493 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2991, allocations: 5.312 kB / 0.5493 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2991, allocations: 0 / 0.5493 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2993, allocations: 184.7 kB / 0.5495 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2993, allocations: 1.219 kB / 0.5495 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2995, allocations: 22.89 kB / 0.5495 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2995, allocations: 0 / 0.5495 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2995, allocations: 1.281 kB / 0.5495 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2995, allocations: 3.938 kB / 0.5495 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2995, allocations: 1.312 kB / 0.5495 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.2999, allocations: 261.8 kB / 0.5497 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.3, allocations: 11.12 kB / 0.5498 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3, allocations: 1.125 kB / 0.5498 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3001, allocations: 8.344 kB / 0.5498 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3001, allocations: 10.39 kB / 0.5498 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3002, allocations: 5.031 kB / 0.5498 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.3002, allocations: 115.3 kB / 0.5499 GB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3002, allocations: 0 / 0.5499 GB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.3005, allocations: 21 kB / 0.5499 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.0001006/0.3006, allocations: 94.66 kB / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.3009, allocations: 79.22 kB / 0.5501 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3009, allocations: 4.188 kB / 0.5501 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.301, allocations: 43.47 kB / 0.5501 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.000265/0.3012, allocations: 18.2 kB / 0.5501 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.3019, allocations: 368.4 kB / 0.5505 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3022, allocations: 0.7016 MB / 0.5512 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.3023, allocations: 12.31 kB / 0.5512 GB, free: 9.883 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3023, allocations: 0 / 0.5512 GB, free: 9.883 MB / 398.1 MB Notification: Performance of Templates: time 0.002849/0.3051, allocations: 1.268 MB / 0.5524 GB, free: 9.23 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins1/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: 6.916530587943271]