Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001498, allocations: 185.7 kB / 16.41 MB, free: 5.723 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.864/1.864, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001137/0.001137, allocations: 89.89 kB / 270.9 MB, free: 8.383 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.6088/0.6088, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006334/0.000633, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1216, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5388/0.6604, allocations: 109.3 MB / 0.5855 GB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.6608, allocations: 83.95 kB / 0.5855 GB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7523/1.413, allocations: 98.33 MB / 0.6816 GB, free: 85.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.867e-06/1.413, allocations: 0 / 0.6816 GB, free: 85.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003639/1.414, allocations: 101.3 kB / 0.6817 GB, free: 85.21 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03235/1.446, allocations: 5.781 MB / 0.6873 GB, free: 83.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.446, allocations: 9.688 kB / 0.6873 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/1.464, allocations: 2.319 MB / 0.6896 GB, free: 82.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/1.483, allocations: 5.02 MB / 0.6945 GB, free: 82.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005269/1.483, allocations: 392.2 kB / 0.6949 GB, free: 82.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003029/1.487, allocations: 0.5174 MB / 0.6954 GB, free: 82.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04063/1.527, allocations: 12.99 MB / 0.7081 GB, free: 79.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003482/1.528, allocations: 68.67 kB / 0.7081 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0023/1.53, allocations: 244.6 kB / 0.7084 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/1.533, allocations: 1.216 MB / 0.7095 GB, free: 79.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03903/1.572, allocations: 11.3 MB / 0.7206 GB, free: 79.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09037/1.663, allocations: 55.86 MB / 0.7751 GB, free: 40.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02792/1.691, allocations: 5.346 MB / 0.7803 GB, free: 38.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00235/1.693, allocations: 1.012 MB / 0.7813 GB, free: 37.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.48e-05/1.693, allocations: 63.34 kB / 0.7814 GB, free: 37.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 6.392e-06/1.693, allocations: 0 / 0.7814 GB, free: 37.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.1145/1.808, allocations: 26.18 MB / 0.807 GB, free: 27.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.808, allocations: 156.9 kB / 0.8071 GB, free: 27.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/1.816, allocations: 4.028 MB / 0.811 GB, free: 24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.817, allocations: 68.44 kB / 0.8111 GB, free: 23.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002684/1.82, allocations: 3.436 MB / 0.8145 GB, free: 20.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.822, allocations: 0.9538 MB / 0.8154 GB, free: 19.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008173/1.822, allocations: 136 kB / 0.8155 GB, free: 19.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004075/1.823, allocations: 0.5988 MB / 0.8161 GB, free: 19.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007102/1.83, allocations: 3.053 MB / 0.8191 GB, free: 16.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009339/1.839, allocations: 6.978 MB / 0.8259 GB, free: 8.441 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.849, allocations: 4.52 MB / 0.8303 GB, free: 4.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-05/1.849, allocations: 36 kB / 0.8304 GB, free: 4.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03226/1.882, allocations: 10.76 MB / 0.8409 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.882, allocations: 68 kB / 0.8409 GB, free: 11.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/1.882, allocations: 136.9 kB / 0.8411 GB, free: 10.97 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/1.887, allocations: 1.136 MB / 0.8422 GB, free: 10.13 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/1.899, allocations: 1.713 MB / 0.8438 GB, free: 8.699 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.913, allocations: 6.031 MB / 0.8497 GB, free: 3.395 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008749/1.922, allocations: 430.8 kB / 0.8501 GB, free: 3.043 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/1.924, allocations: 419.1 kB / 0.8505 GB, free: 2.656 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (855): * Single equations (assignments): 851 * 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.007621/1.931, allocations: 2.432 MB / 0.8529 GB, free: 488 kB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.933, allocations: 410.7 kB / 0.8533 GB, free: 72 kB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/1.953, allocations: 5.677 MB / 0.8588 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/1.953, allocations: 28 kB / 0.8589 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.953, allocations: 4 kB / 0.8589 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.955e-05/1.953, allocations: 11.95 kB / 0.8589 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3923/2.345, allocations: 12.37 MB / 0.871 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/2.345, allocations: 4.359 kB / 0.871 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005799/2.351, allocations: 0.5151 MB / 0.8715 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/2.356, allocations: 0.9358 MB / 0.8724 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007687/2.357, allocations: 49.98 kB / 0.8724 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/2.369, allocations: 5.756 MB / 0.8781 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/2.369, allocations: 6.5 kB / 0.8781 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02469/2.394, allocations: 9.988 MB / 0.8878 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003244/2.397, allocations: 0.9145 MB / 0.8887 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/2.398, allocations: 43.84 kB / 0.8888 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00393/2.402, allocations: 194.4 kB / 0.8889 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007275/2.403, allocations: 149.9 kB / 0.8891 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/2.403, allocations: 75.44 kB / 0.8892 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006128/2.409, allocations: 2.826 MB / 0.8919 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.32e-07/2.409, allocations: 0 / 0.8919 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007778/2.417, allocations: 1.268 MB / 0.8932 GB, free: 101.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0008182/2.418, allocations: 193.8 kB / 0.8933 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01689/2.435, allocations: 7.309 MB / 0.9005 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.435, allocations: 0.8438 kB / 0.9005 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007192/2.442, allocations: 2.785 MB / 0.9032 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/2.446, allocations: 449.7 kB / 0.9036 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/2.481, allocations: 14.69 MB / 0.918 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00872/2.49, allocations: 3.911 MB / 0.9218 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002878/2.493, allocations: 369.7 kB / 0.9221 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.133e-06/2.493, allocations: 2.625 kB / 0.9221 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.1668/2.66, allocations: 91.34 MB / 1.011 GB, free: 46.39 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches