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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001595, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008922, allocations: 90.58 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1555/0.1555, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.85e-05, allocations: 0 / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 56.31 MB / 474 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.4936, allocations: 87.62 MB / 0.5485 GB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4938, allocations: 84.73 kB / 0.5486 GB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004528/0.4983, allocations: 1.74 MB / 0.5503 GB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4984, allocations: 0 / 0.5503 GB, free: 10.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4984, allocations: 0 / 0.5503 GB, free: 10.5 MB / 362.7 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.0004068/0.4988, allocations: 398.3 kB / 0.5507 GB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4988, allocations: 11.78 kB / 0.5507 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.4989, allocations: 19.62 kB / 0.5507 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.499, allocations: 183 kB / 0.5509 GB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4991, allocations: 3.688 kB / 0.5509 GB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.4991, allocations: 3.906 kB / 0.5509 GB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4993, allocations: 78.62 kB / 0.551 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4993, allocations: 7.344 kB / 0.551 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4993, allocations: 3.984 kB / 0.551 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4993, allocations: 0 / 0.551 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.4994, allocations: 54.84 kB / 0.551 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.5001, allocations: 447.7 kB / 0.5514 GB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.5003, allocations: 86.11 kB / 0.5515 GB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.5004, allocations: 27.17 kB / 0.5516 GB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.5004, allocations: 4 kB / 0.5516 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5004, allocations: 37.7 kB / 0.5516 GB, free: 9.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.5004, allocations: 0 / 0.5516 GB, free: 9.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001949/0.5006, allocations: 83.61 kB / 0.5517 GB, free: 9.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.5007, allocations: 55.34 kB / 0.5517 GB, free: 9.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.5008, allocations: 130.5 kB / 0.5518 GB, free: 9.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5008, allocations: 25.7 kB / 0.5519 GB, free: 9.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.5008, allocations: 110.8 kB / 0.552 GB, free: 9.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.5008, allocations: 27.38 kB / 0.552 GB, free: 9.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.5009, allocations: 0 / 0.552 GB, free: 9.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.5009, allocations: 318.6 kB / 0.5523 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.501, allocations: 25.72 kB / 0.5523 GB, free: 8.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.501, allocations: 61.47 kB / 0.5524 GB, free: 8.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.5011, allocations: 22.22 kB / 0.5524 GB, free: 8.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5011, allocations: 0 / 0.5524 GB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001513/0.5012, allocations: 117 kB / 0.5525 GB, free: 8.602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5013, allocations: 3.812 kB / 0.5525 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5013, allocations: 0 / 0.5525 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5013, allocations: 3.875 kB / 0.5525 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5014, allocations: 27.05 kB / 0.5526 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5015, allocations: 4.094 kB / 0.5526 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.645e-05/0.5016, allocations: 15.67 kB / 0.5526 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5016, allocations: 7.469 kB / 0.5526 GB, free: 8.586 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.5016, allocations: 108.8 kB / 0.5527 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.5017, allocations: 11.73 kB / 0.5527 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.5019, allocations: 103.7 kB / 0.5528 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5019, allocations: 0 / 0.5528 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5019, allocations: 4 kB / 0.5528 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5019, allocations: 3.875 kB / 0.5528 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.5021, allocations: 205.8 kB / 0.553 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5021, allocations: 0 / 0.553 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.5022, allocations: 27.11 kB / 0.553 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5023, allocations: 3.844 kB / 0.553 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5023, allocations: 3.953 kB / 0.553 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5023, allocations: 0 / 0.553 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5023, allocations: 0 / 0.553 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.5025, allocations: 225.2 kB / 0.5532 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.5026, allocations: 84.98 kB / 0.5533 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.5026, allocations: 4 kB / 0.5533 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5027, allocations: 15.59 kB / 0.5533 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5028, allocations: 3.562 kB / 0.5534 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5028, allocations: 3.969 kB / 0.5534 GB, free: 7.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.5028, allocations: 101.6 kB / 0.5535 GB, free: 7.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5028, allocations: 4 kB / 0.5535 GB, free: 7.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.503, allocations: 31.25 kB / 0.5535 GB, free: 7.852 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.72e-05/0.5031, allocations: 102.5 kB / 0.5536 GB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.5033, allocations: 63.42 kB / 0.5536 GB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5033, allocations: 0 / 0.5536 GB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/0.5034, allocations: 32.56 kB / 0.5537 GB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.5035, allocations: 11.25 kB / 0.5537 GB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.504, allocations: 204.3 kB / 0.5539 GB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.5041, allocations: 0.7037 MB / 0.5546 GB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.5041, allocations: 8.5 kB / 0.5546 GB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.5042, allocations: 11.22 kB / 0.5546 GB, free: 6.867 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5042, allocations: 0 / 0.5546 GB, free: 6.867 MB / 362.7 MB Notification: Performance of Templates: time 0.002698/0.5069, allocations: 0.9037 MB / 0.5555 GB, free: 6.43 MB / 362.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches