Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008483/0.0008483, allocations: 85.28 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 45.15 MB / 389.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.989e-05, allocations: 11.98 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 63.24 MB / 0.5114 GB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/0.5585, allocations: 109.9 MB / 0.6187 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.5589, allocations: 79.7 kB / 0.6188 GB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3146/0.8735, allocations: 128.8 MB / 0.7446 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8736, allocations: 3.938 kB / 0.7446 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003945/0.874, allocations: 131.9 kB / 0.7447 GB, free: 7.016 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01994/0.8939, allocations: 6.448 MB / 0.751 GB, free: 500 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.894, allocations: 15.97 kB / 0.751 GB, free: 484 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3413/1.235, allocations: 7.057 MB / 0.7579 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.257, allocations: 6.319 MB / 0.7641 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007336/1.258, allocations: 476.7 kB / 0.7645 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004145/1.262, allocations: 0.6226 MB / 0.7652 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03976/1.302, allocations: 15.61 MB / 0.7804 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003692/1.303, allocations: 93.33 kB / 0.7805 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/1.305, allocations: 307.1 kB / 0.7808 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001829/1.306, allocations: 1.469 MB / 0.7822 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/1.333, allocations: 12.58 MB / 0.7945 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07587/1.409, allocations: 70.63 MB / 0.8635 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.425, allocations: 7.112 MB / 0.8704 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00449/1.43, allocations: 3.552 MB / 0.8739 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/1.445, allocations: 8.803 MB / 0.8825 GB, free: 48.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.446, allocations: 65.31 kB / 0.8826 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=246): time 5.52e-06/1.446, allocations: 0 / 0.8826 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.0647/1.51, allocations: 26.43 MB / 0.9084 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.51, allocations: 239.6 kB / 0.9086 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.522, allocations: 5.878 MB / 0.9143 GB, free: 20.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009946/1.523, allocations: 69.7 kB / 0.9144 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003573/1.527, allocations: 4.537 MB / 0.9188 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001919/1.529, allocations: 1.095 MB / 0.9199 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007376/1.53, allocations: 172 kB / 0.9201 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004441/1.53, allocations: 0.6624 MB / 0.9207 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004573/1.535, allocations: 3.216 MB / 0.9239 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008269/1.543, allocations: 8.22 MB / 0.9319 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.553, allocations: 5.137 MB / 0.9369 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002021/1.554, allocations: 48 kB / 0.9369 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.03345/1.587, allocations: 12.68 MB / 0.9493 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002434/1.587, allocations: 80 kB / 0.9494 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005065/1.588, allocations: 183.9 kB / 0.9496 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005021/1.593, allocations: 1.662 MB / 0.9512 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008538/1.602, allocations: 1.996 MB / 0.9531 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/1.618, allocations: 11.19 MB / 0.9641 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008526/1.626, allocations: 0.4914 MB / 0.9646 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/1.629, allocations: 0.5077 MB / 0.9651 GB, free: 1.523 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1026 * 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.002331/1.631, allocations: 0.7621 MB / 0.9658 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001582/1.632, allocations: 0.5668 MB / 0.9664 GB, free: 188 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3893/2.022, allocations: 6.214 MB / 0.9724 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-05/2.022, allocations: 34.97 kB / 0.9725 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-05/2.022, allocations: 10.52 kB / 0.9725 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/2.022, allocations: 13.81 kB / 0.9725 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03667/2.059, allocations: 14.16 MB / 0.9863 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/2.059, allocations: 7.844 kB / 0.9863 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/2.062, allocations: 0.5266 MB / 0.9868 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/2.065, allocations: 1.406 MB / 0.9882 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007203/2.066, allocations: 58.2 kB / 0.9883 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/2.078, allocations: 10.41 MB / 0.9984 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/2.078, allocations: 9.344 kB / 0.9984 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/2.094, allocations: 10.96 MB / 1.009 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/2.096, allocations: 0.6364 MB / 1.01 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001994/2.098, allocations: 62.23 kB / 1.01 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003414/2.102, allocations: 185.5 kB / 1.01 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/2.102, allocations: 181.6 kB / 1.01 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/2.103, allocations: 77.23 kB / 1.01 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008033/2.111, allocations: 4.194 MB / 1.014 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.61e-07/2.111, allocations: 0 / 1.014 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01127/2.122, allocations: 1.552 MB / 1.016 GB, free: 118.9 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 227 * 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.001072/2.123, allocations: 203.8 kB / 1.016 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01207/2.135, allocations: 8.05 MB / 1.024 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/2.135, allocations: 0 / 1.024 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004905/2.14, allocations: 3.153 MB / 1.027 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/2.145, allocations: 0.7007 MB / 1.028 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/2.17, allocations: 12.4 MB / 1.04 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007112/2.178, allocations: 4.763 MB / 1.044 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007614/2.185, allocations: 2.809 MB / 1.047 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/2.187, allocations: 383.3 kB / 1.048 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.794e-06/2.187, allocations: 2 kB / 1.048 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1075/2.295, allocations: 60.69 MB / 1.107 GB, free: 70.82 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches