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.001088/0.001088, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008716/0.0008717, allocations: 101.3 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1868/0.1868, allocations: 45.15 MB / 383.8 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.687e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5327, allocations: 109.2 MB / 0.611 GB, free: 9.574 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.533, allocations: 79.02 kB / 0.6111 GB, free: 9.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/0.8343, allocations: 126.1 MB / 0.7342 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8344, allocations: 0 / 0.7342 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002777/0.8347, allocations: 124 kB / 0.7343 GB, free: 3.254 MB / 0.5105 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.0187/0.8534, allocations: 6.444 MB / 0.7406 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8534, allocations: 12.03 kB / 0.7406 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02847/0.8819, allocations: 7.062 MB / 0.7475 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3224/1.204, allocations: 6.308 MB / 0.7537 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/1.205, allocations: 204 kB / 0.7539 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002446/1.207, allocations: 373 kB / 0.7543 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01815/1.225, allocations: 8.719 MB / 0.7628 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/1.253, allocations: 13.57 MB / 0.776 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/1.253, allocations: 86.47 kB / 0.7761 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008837/1.254, allocations: 43.25 kB / 0.7761 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/1.256, allocations: 1.468 MB / 0.7776 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05625/1.312, allocations: 67.46 MB / 0.8435 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/1.317, allocations: 5.044 MB / 0.8484 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/1.32, allocations: 3.384 MB / 0.8517 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/1.32, allocations: 377.1 kB / 0.852 GB, free: 61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/1.321, allocations: 62.22 kB / 0.8521 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=240): time 5.69e-06/1.321, allocations: 0 / 0.8521 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=283): time 0.0468/1.367, allocations: 27.01 MB / 0.8785 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.367, allocations: 240.1 kB / 0.8787 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005541/1.373, allocations: 4.542 MB / 0.8831 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000585/1.374, allocations: 26.86 kB / 0.8832 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001896/1.376, allocations: 4.625 MB / 0.8877 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009425/1.376, allocations: 1.049 MB / 0.8887 GB, free: 44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/1.377, allocations: 0 / 0.8887 GB, free: 44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003178/1.377, allocations: 0.6767 MB / 0.8894 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.381, allocations: 3.124 MB / 0.8924 GB, free: 40.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/1.386, allocations: 8.23 MB / 0.9005 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/1.392, allocations: 5.018 MB / 0.9054 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/1.392, allocations: 52 kB / 0.9054 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.01818/1.41, allocations: 11.68 MB / 0.9168 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.914e-05/1.41, allocations: 86.19 kB / 0.9169 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.41, allocations: 180 kB / 0.9171 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/1.414, allocations: 1.688 MB / 0.9187 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006204/1.42, allocations: 2.048 MB / 0.9207 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/1.431, allocations: 10.61 MB / 0.9311 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.437, allocations: 349.9 kB / 0.9314 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.438, allocations: 0.5143 MB / 0.9319 GB, free: 2.875 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1062): * Single equations (assignments): 1057 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/1.439, allocations: 0.5701 MB / 0.9325 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000958/1.44, allocations: 493.6 kB / 0.9329 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.451, allocations: 6.02 MB / 0.9388 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/1.451, allocations: 32 kB / 0.9388 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.451, allocations: 19.28 kB / 0.9389 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/1.451, allocations: 14.38 kB / 0.9389 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.473, allocations: 12.75 MB / 0.9513 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.473, allocations: 8.094 kB / 0.9513 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/1.475, allocations: 0.4977 MB / 0.9518 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/1.479, allocations: 1.38 MB / 0.9532 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/1.479, allocations: 12 kB / 0.9532 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2855/1.765, allocations: 9.702 MB / 0.9627 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.765, allocations: 3.25 kB / 0.9627 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.78, allocations: 10 MB / 0.9724 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.781, allocations: 0.5106 MB / 0.9729 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008175/1.782, allocations: 3.641 kB / 0.9729 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/1.785, allocations: 150.3 kB / 0.9731 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.785, allocations: 171.5 kB / 0.9732 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.785, allocations: 70.84 kB / 0.9733 GB, free: 111 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005791/1.791, allocations: 3.059 MB / 0.9763 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.791, allocations: 0 / 0.9763 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007612/1.799, allocations: 1.333 MB / 0.9776 GB, free: 110.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 222 * 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.0006244/1.799, allocations: 159.8 kB / 0.9778 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.811, allocations: 7.926 MB / 0.9855 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.811, allocations: 0 / 0.9855 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004486/1.815, allocations: 3.022 MB / 0.9884 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/1.82, allocations: 0.528 MB / 0.989 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.84, allocations: 12.07 MB / 1.001 GB, free: 108 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005051/1.845, allocations: 4.76 MB / 1.005 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006655/1.852, allocations: 2.823 MB / 1.008 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.853, allocations: 345 kB / 1.008 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.232e-06/1.853, allocations: 0 / 1.008 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.08751/1.94, allocations: 50.24 MB / 1.058 GB, free: 95.97 MB / 0.5417 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