Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 181.7 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.518/2.518, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001234/0.001234, allocations: 90.06 kB / 271.9 MB, free: 8.258 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.605/0.605, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005423/0.0005432, allocations: 20 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1836, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5768/0.7605, allocations: 102.5 MB / 0.58 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.761, allocations: 80.89 kB / 0.5801 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4102/1.171, allocations: 85.44 MB / 0.6635 GB, free: 9.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.571e-06/1.171, allocations: 0 / 0.6635 GB, free: 9.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003304/1.172, allocations: 71.98 kB / 0.6636 GB, free: 9.656 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.0207/1.192, allocations: 3.703 MB / 0.6672 GB, free: 5.883 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/1.192, allocations: 8.031 kB / 0.6672 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02993/1.222, allocations: 3.478 MB / 0.6706 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3412/1.564, allocations: 3.09 MB / 0.6736 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006507/1.564, allocations: 295.1 kB / 0.6739 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/1.567, allocations: 390.9 kB / 0.6743 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/1.603, allocations: 10.27 MB / 0.6843 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003125/1.603, allocations: 30.17 kB / 0.6844 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002938/1.606, allocations: 173.6 kB / 0.6845 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003063/1.609, allocations: 1.213 MB / 0.6857 GB, free: 94.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/1.636, allocations: 9.937 MB / 0.6954 GB, free: 94.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08885/1.725, allocations: 35.54 MB / 0.7301 GB, free: 75.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/1.741, allocations: 4.956 MB / 0.7349 GB, free: 73.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005423/1.746, allocations: 2.298 MB / 0.7372 GB, free: 72.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/1.749, allocations: 1.876 MB / 0.739 GB, free: 70.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.798e-05/1.749, allocations: 51.28 kB / 0.7391 GB, free: 70.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 1.284e-05/1.749, allocations: 0 / 0.7391 GB, free: 70.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.05686/1.806, allocations: 13.84 MB / 0.7526 GB, free: 66.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.806, allocations: 73.5 kB / 0.7527 GB, free: 66.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007129/1.813, allocations: 2.676 MB / 0.7553 GB, free: 65.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000666/1.814, allocations: 52.55 kB / 0.7553 GB, free: 65.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.817, allocations: 2.712 MB / 0.758 GB, free: 63.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.819, allocations: 0.8515 MB / 0.7588 GB, free: 63.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009618/1.82, allocations: 105.8 kB / 0.7589 GB, free: 63.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006844/1.82, allocations: 0.5284 MB / 0.7594 GB, free: 62.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005328/1.826, allocations: 2.183 MB / 0.7615 GB, free: 61.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007765/1.833, allocations: 5.109 MB / 0.7665 GB, free: 57.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/1.848, allocations: 8.012 MB / 0.7744 GB, free: 51.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/1.848, allocations: 31.44 kB / 0.7744 GB, free: 51.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02493/1.873, allocations: 7.883 MB / 0.7821 GB, free: 48.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002381/1.873, allocations: 48.44 kB / 0.7821 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003423/1.874, allocations: 102.6 kB / 0.7822 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/1.877, allocations: 0.793 MB / 0.783 GB, free: 48.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007654/1.885, allocations: 1.197 MB / 0.7842 GB, free: 48.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/1.893, allocations: 4.142 MB / 0.7882 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006282/1.899, allocations: 293.6 kB / 0.7885 GB, free: 44.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.901, allocations: 308.3 kB / 0.7888 GB, free: 44.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 632 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.007373/1.908, allocations: 2.049 MB / 0.7908 GB, free: 42.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008979/1.909, allocations: 268.4 kB / 0.7911 GB, free: 42.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.922, allocations: 4.708 MB / 0.7957 GB, free: 38.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/1.922, allocations: 47.09 kB / 0.7957 GB, free: 38.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/1.922, allocations: 4 kB / 0.7957 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.592e-05/1.922, allocations: 11.62 kB / 0.7957 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/1.952, allocations: 10.62 MB / 0.8061 GB, free: 29.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/1.952, allocations: 9.781 kB / 0.8061 GB, free: 29.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/1.955, allocations: 363.2 kB / 0.8064 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/1.958, allocations: 0.6474 MB / 0.8071 GB, free: 28.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005723/1.959, allocations: 51.28 kB / 0.8071 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/1.966, allocations: 3.591 MB / 0.8106 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/1.966, allocations: 11.58 kB / 0.8106 GB, free: 25.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.982, allocations: 7.104 MB / 0.8176 GB, free: 19.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.984, allocations: 0.6461 MB / 0.8182 GB, free: 18.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009652/1.985, allocations: 44.06 kB / 0.8183 GB, free: 18.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.988, allocations: 134.2 kB / 0.8184 GB, free: 18.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005702/1.989, allocations: 132.6 kB / 0.8185 GB, free: 18.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/1.989, allocations: 75.69 kB / 0.8186 GB, free: 18.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003975/1.993, allocations: 1.629 MB / 0.8202 GB, free: 17.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.343e-06/1.993, allocations: 0 / 0.8202 GB, free: 17.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007884/2.001, allocations: 0.945 MB / 0.8211 GB, free: 16.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009944/2.002, allocations: 187.5 kB / 0.8213 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01201/2.014, allocations: 5.334 MB / 0.8265 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/2.014, allocations: 12.25 kB / 0.8265 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0045/2.019, allocations: 2.012 MB / 0.8285 GB, free: 9.422 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007013/2.026, allocations: 346.2 kB / 0.8288 GB, free: 9.133 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02848/2.054, allocations: 11.79 MB / 0.8403 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009351/2.064, allocations: 3.246 MB / 0.8435 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/2.066, allocations: 247.4 kB / 0.8437 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/2.066, allocations: 0 / 0.8437 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.5257/2.592, allocations: 70.65 MB / 0.9127 GB, free: 103.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches