Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.479/1.479, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008828/0.0008827, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 16 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4238, allocations: 107.7 MB / 0.5839 GB, free: 8.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.424, allocations: 82.39 kB / 0.584 GB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5937/1.018, allocations: 129.4 MB / 0.7103 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.867e-06/1.018, allocations: 2.812 kB / 0.7103 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006153/1.018, allocations: 129.7 kB / 0.7104 GB, free: 96.29 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.0274/1.046, allocations: 7.085 MB / 0.7173 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.046, allocations: 12.69 kB / 0.7174 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03201/1.078, allocations: 7.118 MB / 0.7243 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02239/1.1, allocations: 7.424 MB / 0.7316 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004994/1.101, allocations: 498.2 kB / 0.732 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/1.104, allocations: 0.6458 MB / 0.7327 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0366/1.14, allocations: 16.31 MB / 0.7486 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005664/1.141, allocations: 86.31 kB / 0.7487 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/1.144, allocations: 317.8 kB / 0.749 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/1.146, allocations: 1.551 MB / 0.7505 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02672/1.173, allocations: 13.34 MB / 0.7635 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07587/1.249, allocations: 72.61 MB / 0.8344 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/1.266, allocations: 7.483 MB / 0.8417 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/1.282, allocations: 9.667 MB / 0.8512 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.282, allocations: 64.5 kB / 0.8512 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 5.4e-06/1.282, allocations: 0 / 0.8512 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.07335/1.355, allocations: 31.97 MB / 0.8825 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/1.355, allocations: 239.9 kB / 0.8827 GB, free: 236 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.367, allocations: 6.102 MB / 0.8886 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008045/1.368, allocations: 73.7 kB / 0.8887 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004144/1.372, allocations: 4.706 MB / 0.8933 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001937/1.374, allocations: 1.194 MB / 0.8945 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009086/1.375, allocations: 180 kB / 0.8946 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005582/1.375, allocations: 0.6859 MB / 0.8953 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2576/1.633, allocations: 3.549 MB / 0.8988 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/1.645, allocations: 8.701 MB / 0.9073 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.656, allocations: 5.449 MB / 0.9126 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003112/1.656, allocations: 52.53 kB / 0.9127 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02806/1.684, allocations: 13.53 MB / 0.9259 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.685, allocations: 82.03 kB / 0.9259 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.685, allocations: 188 kB / 0.9261 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003855/1.689, allocations: 1.686 MB / 0.9278 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007902/1.697, allocations: 2.114 MB / 0.9298 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/1.715, allocations: 11.55 MB / 0.9411 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0148/1.73, allocations: 0.5283 MB / 0.9416 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003126/1.733, allocations: 0.5233 MB / 0.9421 GB, free: 95.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1082 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01185/1.745, allocations: 3.159 MB / 0.9452 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/1.747, allocations: 0.5856 MB / 0.9458 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/1.767, allocations: 6.791 MB / 0.9524 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-05/1.767, allocations: 33.92 kB / 0.9525 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-05/1.767, allocations: 11.23 kB / 0.9525 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.372e-05/1.767, allocations: 15.33 kB / 0.9525 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03484/1.802, allocations: 15.2 MB / 0.9673 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/1.802, allocations: 11.62 kB / 0.9673 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/1.805, allocations: 0.5882 MB / 0.9679 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003708/1.809, allocations: 1.399 MB / 0.9693 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007155/1.81, allocations: 62.48 kB / 0.9693 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.823, allocations: 10.74 MB / 0.9798 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.823, allocations: 12.78 kB / 0.9798 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/1.84, allocations: 11.92 MB / 0.9915 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004206/1.844, allocations: 1.156 MB / 0.9926 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/1.845, allocations: 54.95 kB / 0.9927 GB, free: 76.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.848, allocations: 217.2 kB / 0.9929 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/1.849, allocations: 192.8 kB / 0.9931 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.849, allocations: 87.27 kB / 0.9931 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007775/1.857, allocations: 4.371 MB / 0.9974 GB, free: 75.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/1.857, allocations: 3.75 kB / 0.9974 GB, free: 75.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01067/1.868, allocations: 1.636 MB / 0.999 GB, free: 75.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008914/1.869, allocations: 208.4 kB / 0.9992 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.883, allocations: 8.759 MB / 1.008 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.883, allocations: 4 kB / 1.008 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006551/1.89, allocations: 3.453 MB / 1.011 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/1.896, allocations: 0.6941 MB / 1.012 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/1.927, allocations: 17.99 MB / 1.029 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007441/1.934, allocations: 4.936 MB / 1.034 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00835/1.943, allocations: 2.962 MB / 1.037 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.944, allocations: 399.1 kB / 1.037 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of SimCode: time 3.496e-06/1.944, allocations: 0 / 1.037 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.3766/2.321, allocations: 63.27 MB / 1.099 GB, free: 106.9 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches