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.001347/0.001347, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001435/0.001435, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 8.012 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.1841/0.1841, allocations: 38.54 MB / 353.2 MB, free: 12.36 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.002262/0.002262, allocations: 67.89 kB / 493.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 62.47 MB / 0.5432 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004752/0.3397, allocations: 2.526 MB / 0.5456 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.3404, allocations: 426.5 kB / 0.546 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.3405, allocations: 1.25 kB / 0.546 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.3406, allocations: 13.02 kB / 0.546 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3407, allocations: 27.48 kB / 0.5461 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.3409, allocations: 31.81 kB / 0.5461 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.341, allocations: 103.8 kB / 0.5462 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3411, allocations: 9.75 kB / 0.5462 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3413, allocations: 44.06 kB / 0.5463 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.3414, allocations: 50.47 kB / 0.5463 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3414, allocations: 7.875 kB / 0.5463 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.257e-05/0.3414, allocations: 7.094 kB / 0.5463 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.3415, allocations: 18.3 kB / 0.5463 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.3415, allocations: 40.55 kB / 0.5464 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3417, allocations: 97.78 kB / 0.5465 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3417, allocations: 0 / 0.5465 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3417, allocations: 1.344 kB / 0.5465 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3417, allocations: 0 / 0.5465 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.0006846/0.3424, allocations: 342 kB / 0.5468 GB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3424, allocations: 13.67 kB / 0.5468 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3425, allocations: 14.5 kB / 0.5468 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.3427, allocations: 130.3 kB / 0.5469 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3427, allocations: 6.875 kB / 0.547 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3427, allocations: 9.344 kB / 0.547 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.343, allocations: 101.3 kB / 0.5471 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.343, allocations: 0 / 0.5471 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.343, allocations: 5.375 kB / 0.5471 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.343, allocations: 1.375 kB / 0.5471 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.3432, allocations: 65.48 kB / 0.5471 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.344, allocations: 365.3 kB / 0.5475 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.3444, allocations: 92.55 kB / 0.5476 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3445, allocations: 41.58 kB / 0.5476 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3445, allocations: 0.9375 kB / 0.5476 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3445, allocations: 40.62 kB / 0.5476 GB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3445, allocations: 0 / 0.5476 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000452/0.345, allocations: 145.6 kB / 0.5478 GB, free: 12.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.345, allocations: 52.5 kB / 0.5478 GB, free: 12.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3452, allocations: 139 kB / 0.548 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3452, allocations: 29.7 kB / 0.548 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.3453, allocations: 104.4 kB / 0.5481 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.3453, allocations: 23.25 kB / 0.5481 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.3454, allocations: 28.56 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3455, allocations: 317.2 kB / 0.5484 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3456, allocations: 34.25 kB / 0.5485 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3458, allocations: 65.69 kB / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3461, allocations: 103.6 kB / 0.5486 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3461, allocations: 0 / 0.5486 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003238/0.3464, allocations: 132.8 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3464, allocations: 5.188 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3464, allocations: 1.062 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3464, allocations: 2 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3466, allocations: 37.19 kB / 0.5488 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3466, allocations: 1.281 kB / 0.5488 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3467, allocations: 9.344 kB / 0.5488 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3467, allocations: 12.05 kB / 0.5488 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.0001177/0.3468, allocations: 121.4 kB / 0.5489 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.3469, allocations: 7.703 kB / 0.549 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3472, allocations: 122.3 kB / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3472, allocations: 4.969 kB / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3472, allocations: 1.281 kB / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3472, allocations: 0 / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3475, allocations: 143.3 kB / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3475, allocations: 0.75 kB / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3476, allocations: 22.48 kB / 0.5492 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3476, allocations: 1.094 kB / 0.5492 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3476, allocations: 8.891 kB / 0.5492 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3476, allocations: 1.156 kB / 0.5492 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3476, allocations: 3.938 kB / 0.5492 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.3481, allocations: 254.7 kB / 0.5495 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.3481, allocations: 10.64 kB / 0.5495 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3482, allocations: 1.344 kB / 0.5495 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3483, allocations: 9.016 kB / 0.5495 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3483, allocations: 5.656 kB / 0.5495 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3484, allocations: 10.33 kB / 0.5495 GB, free: 11.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.3484, allocations: 96.61 kB / 0.5496 GB, free: 11.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 5.344 kB / 0.5496 GB, free: 11.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.3487, allocations: 24.72 kB / 0.5496 GB, free: 11.07 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.0001168/0.3488, allocations: 95.28 kB / 0.5497 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3491, allocations: 77.38 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3491, allocations: 5.375 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3492, allocations: 34.48 kB / 0.5498 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3495, allocations: 24.42 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.3503, allocations: 368.3 kB / 0.5502 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.3504, allocations: 84.16 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.3504, allocations: 12.5 kB / 0.5503 GB, free: 10.53 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3504, allocations: 0 / 0.5503 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Templates: time 0.003195/0.3536, allocations: 1.306 MB / 0.5516 GB, free: 9.855 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: 7.570815877057612]