Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008187/0.0008188, allocations: 184.3 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 225.7 MB / 243.2 MB, free: 8.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007365/0.0007366, allocations: 97.56 kB / 294.4 MB, free: 9.535 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2888/0.2888, allocations: 38.18 MB / 383.7 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 11.98 kB / 453.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 59.15 MB / 0.5007 GB, free: 38.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002366/0.2769, allocations: 2.197 MB / 0.5028 GB, free: 38.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004668/0.2774, allocations: 406.1 kB / 0.5032 GB, free: 38.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.2774, allocations: 1.438 kB / 0.5032 GB, free: 38.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.522e-05/0.2775, allocations: 8.828 kB / 0.5032 GB, free: 38.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.2777, allocations: 27.36 kB / 0.5033 GB, free: 38.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.435e-05/0.2778, allocations: 20.06 kB / 0.5033 GB, free: 38.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.278, allocations: 95.94 kB / 0.5034 GB, free: 38.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2781, allocations: 22.34 kB / 0.5034 GB, free: 38.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.2782, allocations: 42.23 kB / 0.5034 GB, free: 38.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.2783, allocations: 40.42 kB / 0.5035 GB, free: 38.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2783, allocations: 3.781 kB / 0.5035 GB, free: 38.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.873e-05/0.2783, allocations: 4.031 kB / 0.5035 GB, free: 38.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.2784, allocations: 21.61 kB / 0.5035 GB, free: 38.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.2784, allocations: 67.05 kB / 0.5036 GB, free: 38.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2786, allocations: 83.11 kB / 0.5036 GB, free: 38.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2786, allocations: 0 / 0.5036 GB, free: 38.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2786, allocations: 1.25 kB / 0.5036 GB, free: 38.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2786, allocations: 1.031 kB / 0.5036 GB, free: 38.61 MB / 378.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.0005592/0.2792, allocations: 408.1 kB / 0.504 GB, free: 38.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2792, allocations: 9.062 kB / 0.504 GB, free: 38.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.2793, allocations: 9.406 kB / 0.504 GB, free: 38.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2794, allocations: 193.8 kB / 0.5042 GB, free: 38.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2794, allocations: 3.656 kB / 0.5042 GB, free: 38.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.2794, allocations: 11.81 kB / 0.5042 GB, free: 38.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.2797, allocations: 104.4 kB / 0.5043 GB, free: 37.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2797, allocations: 0 / 0.5043 GB, free: 37.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2797, allocations: 4.875 kB / 0.5044 GB, free: 37.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2797, allocations: 1.219 kB / 0.5044 GB, free: 37.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.28, allocations: 77.52 kB / 0.5044 GB, free: 37.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.2807, allocations: 462.8 kB / 0.5049 GB, free: 37.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.281, allocations: 104.4 kB / 0.505 GB, free: 37.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2811, allocations: 44.91 kB / 0.505 GB, free: 37.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2811, allocations: 1 kB / 0.505 GB, free: 37.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.2812, allocations: 34.53 kB / 0.505 GB, free: 37.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2812, allocations: 0 / 0.505 GB, free: 37.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.2816, allocations: 158.4 kB / 0.5052 GB, free: 37.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.2816, allocations: 58.25 kB / 0.5052 GB, free: 37.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.2817, allocations: 136 kB / 0.5054 GB, free: 37.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2817, allocations: 28.44 kB / 0.5054 GB, free: 37.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.2818, allocations: 104.6 kB / 0.5055 GB, free: 37.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2818, allocations: 23.45 kB / 0.5055 GB, free: 37.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2818, allocations: 0.625 kB / 0.5055 GB, free: 37.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.2819, allocations: 321.2 kB / 0.5058 GB, free: 36.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.282, allocations: 40.7 kB / 0.5059 GB, free: 36.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2821, allocations: 68.91 kB / 0.5059 GB, free: 36.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2823, allocations: 111.8 kB / 0.506 GB, free: 36.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2824, allocations: 1.031 kB / 0.506 GB, free: 36.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002926/0.2827, allocations: 142.3 kB / 0.5062 GB, free: 36.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2827, allocations: 5.875 kB / 0.5062 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2827, allocations: 1.062 kB / 0.5062 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2827, allocations: 2.188 kB / 0.5062 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2829, allocations: 36.55 kB / 0.5062 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2829, allocations: 2.125 kB / 0.5062 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.283, allocations: 26.39 kB / 0.5063 GB, free: 36.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.283, allocations: 2.344 kB / 0.5063 GB, free: 36.79 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.2831, allocations: 118 kB / 0.5064 GB, free: 36.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.2831, allocations: 12.77 kB / 0.5064 GB, free: 36.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.2834, allocations: 131.5 kB / 0.5065 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2834, allocations: 6.625 kB / 0.5065 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2835, allocations: 0 / 0.5065 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2835, allocations: 4.594 kB / 0.5065 GB, free: 36.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.2837, allocations: 208.3 kB / 0.5067 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2837, allocations: 1 kB / 0.5067 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2838, allocations: 29.75 kB / 0.5067 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2839, allocations: 5.766 kB / 0.5068 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2839, allocations: 1.094 kB / 0.5068 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2839, allocations: 3.938 kB / 0.5068 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2839, allocations: 1.031 kB / 0.5068 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.2843, allocations: 281.7 kB / 0.507 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2844, allocations: 88.39 kB / 0.5071 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2844, allocations: 1.125 kB / 0.5071 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2845, allocations: 16.95 kB / 0.5071 GB, free: 36.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.2846, allocations: 9.578 kB / 0.5071 GB, free: 36.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2846, allocations: 1.859 kB / 0.5071 GB, free: 36.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.2846, allocations: 108.5 kB / 0.5072 GB, free: 36.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2846, allocations: 0 / 0.5072 GB, free: 36.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.2849, allocations: 17.56 kB / 0.5073 GB, free: 36.09 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.006e-05/0.2849, allocations: 111.1 kB / 0.5074 GB, free: 36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2852, allocations: 90.22 kB / 0.5074 GB, free: 36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2853, allocations: 3.938 kB / 0.5075 GB, free: 35.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2854, allocations: 45.47 kB / 0.5075 GB, free: 35.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2857, allocations: 15.48 kB / 0.5075 GB, free: 35.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.2862, allocations: 395.7 kB / 0.5079 GB, free: 35.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2863, allocations: 0.7002 MB / 0.5086 GB, free: 35.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.802e-05/0.2864, allocations: 11.08 kB / 0.5086 GB, free: 35.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.2864, allocations: 17.88 kB / 0.5086 GB, free: 35.02 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.2864, allocations: 1.469 kB / 0.5086 GB, free: 35.02 MB / 378.7 MB Notification: Performance of Templates: time 0.002861/0.2893, allocations: 0.9132 MB / 0.5095 GB, free: 34.96 MB / 378.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