Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009509/0.000951, allocations: 194.5 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 226.5 MB / 244.1 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.0007659, allocations: 97.23 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3059/0.3059, allocations: 44.83 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002309/0.0002312, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2742, allocations: 62.95 MB / 0.5165 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3917, allocations: 111.3 MB / 0.6252 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.392, allocations: 83.95 kB / 0.6253 GB, free: 9.957 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4203/0.8124, allocations: 94.63 MB / 0.7177 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.8124, allocations: 3.938 kB / 0.7177 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003563/0.8128, allocations: 99.88 kB / 0.7178 GB, free: 100.1 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.0202/0.833, allocations: 5.479 MB / 0.7231 GB, free: 97.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8331, allocations: 7.906 kB / 0.7231 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009524/0.8426, allocations: 2.295 MB / 0.7254 GB, free: 97.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008156/0.8508, allocations: 3.6 MB / 0.7289 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/0.8512, allocations: 378.8 kB / 0.7293 GB, free: 95.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002588/0.8539, allocations: 0.4912 MB / 0.7297 GB, free: 95.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.026/0.8799, allocations: 12.46 MB / 0.7419 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.8802, allocations: 56.88 kB / 0.742 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/0.8817, allocations: 237.1 kB / 0.7422 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.8832, allocations: 1.155 MB / 0.7433 GB, free: 88.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.9031, allocations: 10.76 MB / 0.7538 GB, free: 85.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05481/0.958, allocations: 54.2 MB / 0.8068 GB, free: 32.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.9709, allocations: 5.04 MB / 0.8117 GB, free: 27.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.9746, allocations: 3.18 MB / 0.8148 GB, free: 24.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.9759, allocations: 1.008 MB / 0.8158 GB, free: 23.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.9759, allocations: 59.86 kB / 0.8158 GB, free: 23.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 5.3e-06/0.976, allocations: 0 / 0.8158 GB, free: 23.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.0582/1.034, allocations: 24.48 MB / 0.8397 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/1.034, allocations: 158.4 kB / 0.8399 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008124/1.042, allocations: 4.41 MB / 0.8442 GB, free: 9.918 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006057/1.043, allocations: 57.7 kB / 0.8442 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.046, allocations: 3.439 MB / 0.8476 GB, free: 6.414 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.047, allocations: 0.8904 MB / 0.8485 GB, free: 5.531 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/1.048, allocations: 132 kB / 0.8486 GB, free: 5.402 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004152/1.048, allocations: 0.5828 MB / 0.8492 GB, free: 4.812 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004743/1.053, allocations: 2.882 MB / 0.852 GB, free: 1.926 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007387/1.06, allocations: 6.731 MB / 0.8586 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.072, allocations: 10.4 MB / 0.8687 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.73e-05/1.073, allocations: 43.94 kB / 0.8687 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01981/1.092, allocations: 10.45 MB / 0.879 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/1.092, allocations: 60 kB / 0.879 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.093, allocations: 136 kB / 0.8791 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002684/1.095, allocations: 1.101 MB / 0.8802 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2432/1.339, allocations: 1.63 MB / 0.8818 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/1.346, allocations: 5.924 MB / 0.8876 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005304/1.351, allocations: 413.6 kB / 0.888 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.352, allocations: 407.5 kB / 0.8884 GB, free: 128.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (817): * Single equations (assignments): 813 * 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.005321/1.358, allocations: 2.341 MB / 0.8907 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008789/1.359, allocations: 402.4 kB / 0.891 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008933/1.368, allocations: 5.307 MB / 0.8962 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/1.368, allocations: 23.5 kB / 0.8962 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.368, allocations: 6.75 kB / 0.8963 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/1.368, allocations: 18.14 kB / 0.8963 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.388, allocations: 11.66 MB / 0.9077 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.388, allocations: 3.438 kB / 0.9077 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/1.391, allocations: 480.3 kB / 0.9081 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/1.394, allocations: 0.9364 MB / 0.909 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/1.394, allocations: 45.39 kB / 0.9091 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006888/1.401, allocations: 5.662 MB / 0.9146 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.401, allocations: 3.438 kB / 0.9146 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.414, allocations: 9.032 MB / 0.9234 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/1.416, allocations: 0.8591 MB / 0.9243 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007344/1.417, allocations: 45.39 kB / 0.9243 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/1.419, allocations: 179.1 kB / 0.9245 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/1.42, allocations: 138.8 kB / 0.9246 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/1.42, allocations: 68.25 kB / 0.9247 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004395/1.424, allocations: 2.761 MB / 0.9274 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.81e-07/1.424, allocations: 0 / 0.9274 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006849/1.431, allocations: 1.208 MB / 0.9286 GB, free: 116.2 MB / 0.5261 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 (206): * Single equations (assignments): 202 * 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.0007399/1.432, allocations: 196.3 kB / 0.9287 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.442, allocations: 6.911 MB / 0.9355 GB, free: 114 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.442, allocations: 0 / 0.9355 GB, free: 114 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/1.446, allocations: 2.602 MB / 0.938 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/1.451, allocations: 485.1 kB / 0.9385 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.471, allocations: 14.05 MB / 0.9522 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003796/1.475, allocations: 3.676 MB / 0.9558 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.476, allocations: 345.4 kB / 0.9561 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/1.476, allocations: 0 / 0.9561 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.09589/1.572, allocations: 89.99 MB / 1.044 GB, free: 26.54 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches