Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002416, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.049/2.049, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001063/0.001063, allocations: 90.64 kB / 267.5 MB, free: 14.12 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.2779/0.2779, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.648e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5323/0.6502, allocations: 111.5 MB / 0.5817 GB, free: 8.492 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.6505, allocations: 72.91 kB / 0.5818 GB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297/1.948, allocations: 238.3 MB / 0.8144 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.093e-06/1.948, allocations: 0 / 0.8144 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008762/1.949, allocations: 252.1 kB / 0.8147 GB, free: 79.05 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.05088/2, allocations: 12.25 MB / 0.8266 GB, free: 66.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/2, allocations: 12.03 kB / 0.8267 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09271/2.092, allocations: 12.8 MB / 0.8392 GB, free: 53.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04571/2.138, allocations: 13.25 MB / 0.8521 GB, free: 40.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/2.139, allocations: 0.9466 MB / 0.853 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006664/2.146, allocations: 1.253 MB / 0.8542 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09566/2.242, allocations: 30.05 MB / 0.8836 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009354/2.243, allocations: 150.5 kB / 0.8837 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006036/2.249, allocations: 0.5856 MB / 0.8843 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006428/2.255, allocations: 2.852 MB / 0.8871 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4915/2.747, allocations: 24.51 MB / 0.911 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2242/2.971, allocations: 127.4 MB / 1.035 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06691/3.038, allocations: 14.91 MB / 1.05 GB, free: 17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01616/3.054, allocations: 8.107 MB / 1.058 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0552/3.109, allocations: 20.22 MB / 1.078 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/3.11, allocations: 102.1 kB / 1.078 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 9.949e-06/3.11, allocations: 0 / 1.078 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.7014/3.811, allocations: 60.98 MB / 1.137 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/3.811, allocations: 382 kB / 1.138 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03553/3.847, allocations: 10.54 MB / 1.148 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001865/3.849, allocations: 126.5 kB / 1.148 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007824/3.857, allocations: 7.886 MB / 1.156 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004321/3.861, allocations: 2.396 MB / 1.158 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003289/3.864, allocations: 312.3 kB / 1.158 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001546/3.866, allocations: 0.9644 MB / 1.159 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01768/3.884, allocations: 6.608 MB / 1.166 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02404/3.908, allocations: 14.91 MB / 1.18 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/3.931, allocations: 9.828 MB / 1.19 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004391/3.932, allocations: 82.94 kB / 1.19 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.06919/4.001, allocations: 23.91 MB / 1.213 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000283/4.001, allocations: 129.4 kB / 1.214 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004793/4.002, allocations: 287.3 kB / 1.214 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/4.016, allocations: 3.281 MB / 1.217 GB, free: 95.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02594/4.042, allocations: 3.746 MB / 1.221 GB, free: 95.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0421/4.084, allocations: 22.46 MB / 1.243 GB, free: 82.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/4.105, allocations: 0.9249 MB / 1.244 GB, free: 81.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004071/4.109, allocations: 0.8806 MB / 1.244 GB, free: 80.91 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1320 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1880): * Single equations (assignments): 1873 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007395/4.117, allocations: 1.271 MB / 1.246 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004497/4.121, allocations: 1.072 MB / 1.247 GB, free: 78.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04511/4.167, allocations: 14.63 MB / 1.261 GB, free: 66.69 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/4.167, allocations: 65.22 kB / 1.261 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.986e-05/4.167, allocations: 20 kB / 1.261 GB, free: 66.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001678/4.167, allocations: 30.98 kB / 1.261 GB, free: 66.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09772/4.265, allocations: 32.41 MB / 1.293 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.99e-05/4.265, allocations: 12 kB / 1.293 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01308/4.278, allocations: 1.307 MB / 1.294 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/4.291, allocations: 2.812 MB / 1.297 GB, free: 37.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001938/4.293, allocations: 132.7 kB / 1.297 GB, free: 37.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04181/4.335, allocations: 21.01 MB / 1.317 GB, free: 18.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.749e-05/4.335, allocations: 19.89 kB / 1.317 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5177/4.853, allocations: 26.25 MB / 1.343 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0097/4.862, allocations: 2.183 MB / 1.345 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005158/4.868, allocations: 121.8 kB / 1.345 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01238/4.88, allocations: 455.6 kB / 1.346 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002675/4.883, allocations: 411.2 kB / 1.346 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001845/4.885, allocations: 175.1 kB / 1.346 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02197/4.907, allocations: 7.602 MB / 1.354 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.082e-06/4.907, allocations: 0 / 1.354 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02232/4.929, allocations: 3.085 MB / 1.357 GB, free: 112.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002864/4.932, allocations: 306.7 kB / 1.357 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04115/4.973, allocations: 16.52 MB / 1.373 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/4.973, allocations: 3.969 kB / 1.373 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02048/4.994, allocations: 7.09 MB / 1.38 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01296/5.007, allocations: 1.339 MB / 1.381 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0839/5.091, allocations: 26.95 MB / 1.408 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0231/5.114, allocations: 8.784 MB / 1.416 GB, free: 97.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007605/5.122, allocations: 0.8357 MB / 1.417 GB, free: 96.84 MB / 0.5573 GB Notification: Performance of SimCode: time 2.906e-06/5.122, allocations: 0 / 1.417 GB, free: 96.84 MB / 0.5573 GB Notification: Performance of Templates: time 1.61/6.731, allocations: 369.4 MB / 1.778 GB, free: 166.4 MB / 0.6198 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches