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.001447/0.001447, allocations: 176.3 kB / 17.4 MB, free: 4.273 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.382/1.382, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0008608/0.0008609, allocations: 89.55 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1791/0.1791, allocations: 38.08 MB / 358.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005094, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3468, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4798, allocations: 87.74 MB / 0.556 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.4801, allocations: 91.81 kB / 0.556 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005226/0.4854, allocations: 1.748 MB / 0.5578 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.4854, allocations: 4 kB / 0.5578 GB, free: 12.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.4854, allocations: 6.516 kB / 0.5578 GB, free: 12.68 MB / 394.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.0005699/0.486, allocations: 411.5 kB / 0.5582 GB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4861, allocations: 8.031 kB / 0.5582 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.4861, allocations: 16.84 kB / 0.5582 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4863, allocations: 194.9 kB / 0.5584 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4863, allocations: 384 / 0.5584 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4864, allocations: 8.375 kB / 0.5584 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.4866, allocations: 94.2 kB / 0.5585 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4866, allocations: 192 / 0.5585 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4867, allocations: 7.938 kB / 0.5585 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4867, allocations: 4 kB / 0.5585 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.4869, allocations: 83.92 kB / 0.5586 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.4878, allocations: 469.1 kB / 0.559 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.4881, allocations: 94.61 kB / 0.5591 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.4882, allocations: 48.83 kB / 0.5591 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.4883, allocations: 0 / 0.5591 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4883, allocations: 30.56 kB / 0.5592 GB, free: 11.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.4883, allocations: 4 kB / 0.5592 GB, free: 11.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004705/0.4888, allocations: 149.5 kB / 0.5593 GB, free: 10.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4889, allocations: 51.41 kB / 0.5594 GB, free: 10.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.489, allocations: 142.8 kB / 0.5595 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.489, allocations: 25.7 kB / 0.5595 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.4891, allocations: 111.9 kB / 0.5596 GB, free: 10.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.4891, allocations: 23.94 kB / 0.5597 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.4891, allocations: 0 / 0.5597 GB, free: 10.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4893, allocations: 330.8 kB / 0.56 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4894, allocations: 39.97 kB / 0.56 GB, free: 10.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4895, allocations: 67.39 kB / 0.5601 GB, free: 10.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.4898, allocations: 111.3 kB / 0.5602 GB, free: 9.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4898, allocations: 4.188 kB / 0.5602 GB, free: 9.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003087/0.4901, allocations: 133.5 kB / 0.5603 GB, free: 9.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4902, allocations: 7.938 kB / 0.5603 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4902, allocations: 0 / 0.5603 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4902, allocations: 12.09 kB / 0.5603 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.4904, allocations: 31.91 kB / 0.5604 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4904, allocations: 4 kB / 0.5604 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.4905, allocations: 19.83 kB / 0.5604 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4905, allocations: 11.94 kB / 0.5604 GB, free: 9.738 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/0.4906, allocations: 117.8 kB / 0.5605 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.4907, allocations: 11.91 kB / 0.5605 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.491, allocations: 134.3 kB / 0.5606 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.491, allocations: 0 / 0.5606 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.491, allocations: 0 / 0.5606 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.491, allocations: 4 kB / 0.5607 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.4913, allocations: 213.5 kB / 0.5609 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4913, allocations: 0 / 0.5609 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.4915, allocations: 23.98 kB / 0.5609 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4915, allocations: 0 / 0.5609 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4915, allocations: 4 kB / 0.5609 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4915, allocations: 4 kB / 0.5609 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4915, allocations: 0 / 0.5609 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.492, allocations: 279.7 kB / 0.5612 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.492, allocations: 84.95 kB / 0.5612 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4921, allocations: 4.031 kB / 0.5612 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4922, allocations: 12.05 kB / 0.5612 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.4922, allocations: 8 kB / 0.5613 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.4923, allocations: 7.938 kB / 0.5613 GB, free: 8.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.4923, allocations: 115.3 kB / 0.5614 GB, free: 8.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4924, allocations: 0 / 0.5614 GB, free: 8.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.4926, allocations: 20 kB / 0.5614 GB, free: 8.617 MB / 394.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 () * 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 (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.0001289/0.4927, allocations: 99.25 kB / 0.5615 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.493, allocations: 99.86 kB / 0.5616 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.493, allocations: 0 / 0.5616 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4932, allocations: 48.11 kB / 0.5616 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4935, allocations: 19.98 kB / 0.5616 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.4942, allocations: 381 kB / 0.562 GB, free: 7.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4945, allocations: 0.7004 MB / 0.5627 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.4946, allocations: 12.66 kB / 0.5627 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.4947, allocations: 15.44 kB / 0.5627 GB, free: 7.191 MB / 394.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4947, allocations: 0 / 0.5627 GB, free: 7.191 MB / 394.7 MB Notification: Performance of Templates: time 0.003153/0.4978, allocations: 0.9041 MB / 0.5636 GB, free: 6.297 MB / 394.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/jenkins1/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