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.001206/0.001206, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009243, allocations: 91.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1949/0.1949, allocations: 37.98 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.759e-05, allocations: 0 / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 56.33 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.5049, allocations: 86.95 MB / 0.5409 GB, free: 7.984 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.5052, allocations: 83.95 kB / 0.5409 GB, free: 7.902 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.004882/0.5101, allocations: 1.724 MB / 0.5426 GB, free: 6.184 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5101, allocations: 0 / 0.5426 GB, free: 6.184 MB / 379.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5101, allocations: 5.75 kB / 0.5426 GB, free: 6.18 MB / 379.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.0005022/0.5106, allocations: 396 kB / 0.543 GB, free: 5.75 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5107, allocations: 8.031 kB / 0.543 GB, free: 5.742 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.5107, allocations: 11.81 kB / 0.543 GB, free: 5.73 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.511, allocations: 183 kB / 0.5432 GB, free: 5.512 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.511, allocations: 4 kB / 0.5432 GB, free: 5.508 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.511, allocations: 11.92 kB / 0.5432 GB, free: 5.496 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/0.5112, allocations: 40 kB / 0.5433 GB, free: 5.457 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5113, allocations: 73.67 kB / 0.5433 GB, free: 5.379 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5114, allocations: 7.844 kB / 0.5433 GB, free: 5.371 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5114, allocations: 0 / 0.5433 GB, free: 5.371 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5114, allocations: 0 / 0.5433 GB, free: 5.371 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.5122, allocations: 429.8 kB / 0.5437 GB, free: 4.902 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.5124, allocations: 74.69 kB / 0.5438 GB, free: 4.82 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.5125, allocations: 24.86 kB / 0.5438 GB, free: 4.793 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.5125, allocations: 0 / 0.5438 GB, free: 4.793 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5125, allocations: 39.64 kB / 0.5439 GB, free: 4.746 MB / 379.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.5125, allocations: 4 kB / 0.5439 GB, free: 4.742 MB / 379.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002028/0.5127, allocations: 77.48 kB / 0.544 GB, free: 4.66 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.5128, allocations: 55.56 kB / 0.544 GB, free: 4.594 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.5129, allocations: 118.9 kB / 0.5441 GB, free: 4.469 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.5129, allocations: 25.7 kB / 0.5442 GB, free: 4.438 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.513, allocations: 104.2 kB / 0.5443 GB, free: 4.332 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.513, allocations: 27.64 kB / 0.5443 GB, free: 4.305 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.513, allocations: 0 / 0.5443 GB, free: 4.305 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5131, allocations: 322.8 kB / 0.5446 GB, free: 3.98 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.5131, allocations: 23.94 kB / 0.5446 GB, free: 3.957 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.5132, allocations: 47.44 kB / 0.5447 GB, free: 3.898 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.158e-05/0.5133, allocations: 27.97 kB / 0.5447 GB, free: 3.871 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5133, allocations: 0 / 0.5447 GB, free: 3.871 MB / 379.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001502/0.5134, allocations: 93.53 kB / 0.5448 GB, free: 3.773 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5135, allocations: 4 kB / 0.5448 GB, free: 3.77 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5135, allocations: 3.938 kB / 0.5448 GB, free: 3.766 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.5135, allocations: 7.984 kB / 0.5448 GB, free: 3.758 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.5137, allocations: 36.06 kB / 0.5448 GB, free: 3.723 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5137, allocations: 3.953 kB / 0.5448 GB, free: 3.719 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5138, allocations: 15.91 kB / 0.5448 GB, free: 3.703 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5138, allocations: 6.438 kB / 0.5448 GB, free: 3.699 MB / 379.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 () * 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 6.934e-05/0.5139, allocations: 105 kB / 0.5449 GB, free: 3.59 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.5139, allocations: 7.906 kB / 0.545 GB, free: 3.582 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.5141, allocations: 94.23 kB / 0.545 GB, free: 3.48 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5141, allocations: 4 kB / 0.545 GB, free: 3.477 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5141, allocations: 0 / 0.545 GB, free: 3.477 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5141, allocations: 7.938 kB / 0.5451 GB, free: 3.469 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.5144, allocations: 182.1 kB / 0.5452 GB, free: 3.254 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5144, allocations: 0 / 0.5452 GB, free: 3.254 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.5145, allocations: 28.17 kB / 0.5453 GB, free: 3.227 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5145, allocations: 0 / 0.5453 GB, free: 3.227 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5146, allocations: 3.938 kB / 0.5453 GB, free: 3.223 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5146, allocations: 4 kB / 0.5453 GB, free: 3.219 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5146, allocations: 0 / 0.5453 GB, free: 3.219 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.5148, allocations: 215.6 kB / 0.5455 GB, free: 2.992 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.5149, allocations: 85.05 kB / 0.5455 GB, free: 2.891 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5149, allocations: 0 / 0.5455 GB, free: 2.891 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.515, allocations: 11.98 kB / 0.5456 GB, free: 2.879 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.5151, allocations: 8.062 kB / 0.5456 GB, free: 2.871 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5151, allocations: 4 kB / 0.5456 GB, free: 2.867 MB / 379.1 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.5152, allocations: 99.8 kB / 0.5457 GB, free: 2.77 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5152, allocations: 0 / 0.5457 GB, free: 2.77 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.5154, allocations: 27.91 kB / 0.5457 GB, free: 2.742 MB / 379.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 () * 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 0.0001352/0.5156, allocations: 98.98 kB / 0.5458 GB, free: 2.641 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.5157, allocations: 67.98 kB / 0.5459 GB, free: 2.574 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5157, allocations: 3.938 kB / 0.5459 GB, free: 2.57 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.5158, allocations: 32.12 kB / 0.5459 GB, free: 2.539 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.516, allocations: 7.953 kB / 0.5459 GB, free: 2.531 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.5165, allocations: 204.3 kB / 0.5461 GB, free: 2.309 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.5168, allocations: 0.7041 MB / 0.5468 GB, free: 1.578 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.5168, allocations: 11.98 kB / 0.5468 GB, free: 1.566 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.5169, allocations: 11.44 kB / 0.5468 GB, free: 1.555 MB / 379.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5169, allocations: 0 / 0.5468 GB, free: 1.555 MB / 379.1 MB Notification: Performance of Templates: time 0.002879/0.5198, allocations: 0.8068 MB / 0.5476 GB, free: 0.7539 MB / 379.1 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