Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008686/0.0008685, allocations: 92.05 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.301/0.301, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004617, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3222, allocations: 61.89 MB / 0.5107 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.457, allocations: 112.5 MB / 0.6206 GB, free: 14.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4573, allocations: 91.92 kB / 0.6207 GB, free: 14.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7119/1.169, allocations: 218.9 MB / 0.8344 GB, free: 11.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.169, allocations: 0 / 0.8344 GB, free: 11.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009646/1.17, allocations: 236 kB / 0.8347 GB, free: 10.87 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.03955/1.21, allocations: 11.87 MB / 0.8462 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.21, allocations: 12.03 kB / 0.8463 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03914/1.249, allocations: 9.317 MB / 0.8554 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03026/1.279, allocations: 10.97 MB / 0.8661 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/1.281, allocations: 0.871 MB / 0.8669 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006334/1.287, allocations: 1.164 MB / 0.8681 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.658/1.945, allocations: 27.82 MB / 0.8952 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001/1.946, allocations: 146.5 kB / 0.8954 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004837/1.951, allocations: 0.5394 MB / 0.8959 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/1.955, allocations: 2.572 MB / 0.8984 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04764/2.002, allocations: 22.43 MB / 0.9203 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/2.139, allocations: 120 MB / 1.038 GB, free: 4.988 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03317/2.172, allocations: 13.63 MB / 1.051 GB, free: 1.383 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/2.183, allocations: 7.412 MB / 1.058 GB, free: 11.06 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03167/2.215, allocations: 17.74 MB / 1.075 GB, free: 12.74 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/2.215, allocations: 85.88 kB / 1.075 GB, free: 12.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 8.035e-06/2.215, allocations: 0 / 1.075 GB, free: 12.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.4498/2.665, allocations: 63.52 MB / 1.137 GB, free: 107.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/2.665, allocations: 367.5 kB / 1.138 GB, free: 107 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02627/2.691, allocations: 11.47 MB / 1.149 GB, free: 106.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001754/2.693, allocations: 110.1 kB / 1.149 GB, free: 106.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00695/2.7, allocations: 7.856 MB / 1.157 GB, free: 102.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003549/2.704, allocations: 2.049 MB / 1.159 GB, free: 101.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/2.706, allocations: 279.3 kB / 1.159 GB, free: 101.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001056/2.707, allocations: 0.9037 MB / 1.16 GB, free: 101 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/2.717, allocations: 5.882 MB / 1.166 GB, free: 101 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01483/2.732, allocations: 13.76 MB / 1.179 GB, free: 90.74 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02768/2.759, allocations: 21.33 MB / 1.2 GB, free: 75.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004449/2.76, allocations: 78.88 kB / 1.2 GB, free: 75.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.04834/2.808, allocations: 22.36 MB / 1.222 GB, free: 67.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007224/2.809, allocations: 123 kB / 1.222 GB, free: 67.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008524/2.81, allocations: 280.2 kB / 1.222 GB, free: 67.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007688/2.818, allocations: 3.216 MB / 1.225 GB, free: 64.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/2.83, allocations: 3.378 MB / 1.229 GB, free: 62.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/2.854, allocations: 22.47 MB / 1.251 GB, free: 41.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/2.869, allocations: 0.8234 MB / 1.251 GB, free: 41.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003541/2.872, allocations: 0.8078 MB / 1.252 GB, free: 40.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (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.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1698): * Single equations (assignments): 1691 * 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.01496/2.887, allocations: 5.284 MB / 1.257 GB, free: 35.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002696/2.89, allocations: 1.003 MB / 1.258 GB, free: 34.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02474/2.915, allocations: 12.77 MB / 1.271 GB, free: 24.52 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-05/2.915, allocations: 59.94 kB / 1.271 GB, free: 24.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/2.915, allocations: 16 kB / 1.271 GB, free: 24.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/2.915, allocations: 32.19 kB / 1.271 GB, free: 24.44 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0602/2.975, allocations: 28.95 MB / 1.299 GB, free: 1.152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.757e-05/2.975, allocations: 12 kB / 1.299 GB, free: 1.141 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3351/3.311, allocations: 1.122 MB / 1.3 GB, free: 99.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007176/3.318, allocations: 2.819 MB / 1.303 GB, free: 99.67 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001394/3.319, allocations: 110.7 kB / 1.303 GB, free: 99.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02539/3.345, allocations: 21.06 MB / 1.324 GB, free: 94.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/3.345, allocations: 13.75 kB / 1.324 GB, free: 94.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03462/3.379, allocations: 19.92 MB / 1.343 GB, free: 92.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004275/3.384, allocations: 1.094 MB / 1.344 GB, free: 92.74 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004352/3.388, allocations: 110.7 kB / 1.344 GB, free: 92.74 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007701/3.396, allocations: 378.5 kB / 1.345 GB, free: 92.74 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/3.398, allocations: 355 kB / 1.345 GB, free: 92.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000659/3.399, allocations: 142.6 kB / 1.345 GB, free: 92.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01782/3.416, allocations: 7.402 MB / 1.352 GB, free: 92.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.61e-07/3.416, allocations: 0 / 1.352 GB, free: 92.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01923/3.436, allocations: 2.799 MB / 1.355 GB, free: 92.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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.001902/3.438, allocations: 283.9 kB / 1.355 GB, free: 92.36 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0258/3.463, allocations: 14.77 MB / 1.37 GB, free: 90.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/3.464, allocations: 3.906 kB / 1.37 GB, free: 90.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01374/3.477, allocations: 6.316 MB / 1.376 GB, free: 88.54 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03245/3.51, allocations: 1.398 MB / 1.377 GB, free: 87.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06183/3.572, allocations: 31.82 MB / 1.409 GB, free: 72.51 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01556/3.587, allocations: 7.934 MB / 1.416 GB, free: 70.13 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01387/3.601, allocations: 4.666 MB / 1.421 GB, free: 69.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002922/3.604, allocations: 0.6635 MB / 1.421 GB, free: 68.64 MB / 0.573 GB Notification: Performance of SimCode: time 8.12e-07/3.604, allocations: 0 / 1.421 GB, free: 68.64 MB / 0.573 GB Notification: Performance of Templates: time 0.4969/4.101, allocations: 107.5 MB / 1.526 GB, free: 108 MB / 0.5887 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches