Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 186.3 kB / 16.4 MB, free: 5.695 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.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001154/0.001154, allocations: 90.91 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5076/0.5076, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6116, allocations: 108.5 MB / 0.5847 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.612, allocations: 87.95 kB / 0.5848 GB, free: 9.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.363/0.975, allocations: 84.97 MB / 0.6678 GB, free: 4.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.9751, allocations: 0 / 0.6678 GB, free: 4.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002718/0.9754, allocations: 80 kB / 0.6678 GB, free: 4.332 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.3647/1.34, allocations: 4.747 MB / 0.6725 GB, free: 88.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.34, allocations: 10.59 kB / 0.6725 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.358, allocations: 2.215 MB / 0.6746 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/1.376, allocations: 4.551 MB / 0.6791 GB, free: 88.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/1.376, allocations: 325.1 kB / 0.6794 GB, free: 88.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002376/1.379, allocations: 425.6 kB / 0.6798 GB, free: 88.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0326/1.411, allocations: 10.78 MB / 0.6903 GB, free: 85.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/1.412, allocations: 58.16 kB / 0.6904 GB, free: 85.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/1.413, allocations: 209.7 kB / 0.6906 GB, free: 85.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002361/1.416, allocations: 1.011 MB / 0.6916 GB, free: 85.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02805/1.444, allocations: 9.068 MB / 0.7004 GB, free: 85.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07593/1.52, allocations: 47.51 MB / 0.7468 GB, free: 52.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/1.54, allocations: 3.629 MB / 0.7504 GB, free: 51.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.551, allocations: 4.748 MB / 0.755 GB, free: 48.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/1.551, allocations: 45.34 kB / 0.7551 GB, free: 48.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 5.52e-06/1.552, allocations: 3.938 kB / 0.7551 GB, free: 48.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.04732/1.599, allocations: 12.37 MB / 0.7671 GB, free: 43.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.599, allocations: 148.4 kB / 0.7673 GB, free: 43.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008105/1.607, allocations: 3.649 MB / 0.7708 GB, free: 41.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004024/1.608, allocations: 45.14 kB / 0.7709 GB, free: 41.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.61, allocations: 3.074 MB / 0.7739 GB, free: 39.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/1.611, allocations: 0.5948 MB / 0.7745 GB, free: 38.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006854/1.612, allocations: 114.5 kB / 0.7746 GB, free: 38.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003576/1.612, allocations: 0.5536 MB / 0.7751 GB, free: 38.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.617, allocations: 1.957 MB / 0.777 GB, free: 37.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007153/1.624, allocations: 5.638 MB / 0.7825 GB, free: 32.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00736/1.631, allocations: 3.25 MB / 0.7857 GB, free: 30.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.632, allocations: 39.62 kB / 0.7857 GB, free: 30.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02225/1.654, allocations: 7.941 MB / 0.7935 GB, free: 27.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.654, allocations: 61.88 kB / 0.7936 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.654, allocations: 132.8 kB / 0.7937 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004232/1.658, allocations: 0.9114 MB / 0.7946 GB, free: 27.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008383/1.667, allocations: 1.351 MB / 0.7959 GB, free: 27.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009403/1.676, allocations: 4.895 MB / 0.8007 GB, free: 24.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/1.683, allocations: 318.5 kB / 0.801 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.684, allocations: 363.7 kB / 0.8013 GB, free: 24.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005672/1.69, allocations: 2.093 MB / 0.8034 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009264/1.691, allocations: 345.3 kB / 0.8037 GB, free: 23.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009352/1.7, allocations: 2.898 MB / 0.8065 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/1.7, allocations: 16.44 kB / 0.8065 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.7, allocations: 3.719 kB / 0.8066 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.7, allocations: 6.891 kB / 0.8066 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.722, allocations: 7.157 MB / 0.8135 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/1.722, allocations: 4 kB / 0.8136 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/1.724, allocations: 250.5 kB / 0.8138 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003725/1.728, allocations: 0.6965 MB / 0.8145 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003345/1.728, allocations: 27.61 kB / 0.8145 GB, free: 16.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00842/1.737, allocations: 4.451 MB / 0.8188 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.737, allocations: 7.562 kB / 0.8189 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.75, allocations: 5.232 MB / 0.824 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/1.752, allocations: 0.6179 MB / 0.8246 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.753, allocations: 20 kB / 0.8246 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/1.756, allocations: 95.73 kB / 0.8247 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/1.756, allocations: 83.56 kB / 0.8248 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.757, allocations: 46.77 kB / 0.8248 GB, free: 6.957 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006017/1.763, allocations: 2.552 MB / 0.8273 GB, free: 4.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.763, allocations: 0 / 0.8273 GB, free: 4.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006608/1.769, allocations: 0.9515 MB / 0.8282 GB, free: 3.898 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (117): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006463/1.77, allocations: 158.6 kB / 0.8284 GB, free: 3.746 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.781, allocations: 4.718 MB / 0.833 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.781, allocations: 0 / 0.833 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/1.785, allocations: 1.384 MB / 0.8343 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.788, allocations: 398 kB / 0.8347 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/1.816, allocations: 10.9 MB / 0.8454 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00753/1.823, allocations: 3.329 MB / 0.8486 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.825, allocations: 285 kB / 0.8489 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/1.825, allocations: 0 / 0.8489 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.5045/2.33, allocations: 71.55 MB / 0.9187 GB, free: 97.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches