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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001547/0.001547, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3674, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01735/0.3848, allocations: 15.52 MB / 0.5462 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.3967, allocations: 4.933 MB / 0.551 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.3994, allocations: 107.7 kB / 0.5511 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008695/0.4081, allocations: 4.988 MB / 0.5559 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.4148, allocations: 2.552 MB / 0.5584 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.4177, allocations: 1.096 MB / 0.5595 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.4291, allocations: 6.901 MB / 0.5662 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009477/0.4386, allocations: 5.772 MB / 0.5719 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005269/0.4439, allocations: 2.399 MB / 0.5742 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006227/0.4502, allocations: 3.224 MB / 0.5774 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.4526, allocations: 0.5039 MB / 0.5779 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.4569, allocations: 1.397 MB / 0.5792 GB, free: 136 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.4616, allocations: 2.996 MB / 0.5822 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005929/0.4676, allocations: 3.348 MB / 0.5854 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.4816, allocations: 10.36 MB / 0.5955 GB, free: 15.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4817, allocations: 0 / 0.5955 GB, free: 15.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4817, allocations: 0 / 0.5955 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005649/0.4823, allocations: 0 / 0.5955 GB, free: 15.36 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02165/0.504, allocations: 7.408 MB / 0.6028 GB, free: 7.867 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.504, allocations: 8.031 kB / 0.6028 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.5168, allocations: 2.706 MB / 0.6054 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.5274, allocations: 4.28 MB / 0.6096 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.5277, allocations: 357.5 kB / 0.61 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.529, allocations: 479.7 kB / 0.6104 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/0.5571, allocations: 14.68 MB / 0.6247 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.5574, allocations: 63.45 kB / 0.6248 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006666/0.5581, allocations: 223.9 kB / 0.625 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004597/0.5627, allocations: 2.742 MB / 0.6277 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/0.5882, allocations: 12.5 MB / 0.6399 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07611/0.6644, allocations: 58.01 MB / 0.6966 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.6824, allocations: 7.279 MB / 0.7037 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/0.6871, allocations: 3.894 MB / 0.7075 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/0.7014, allocations: 8.965 MB / 0.7162 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.7015, allocations: 68.44 kB / 0.7163 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.35e-06/0.7015, allocations: 0 / 0.7163 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3835/1.085, allocations: 32.73 MB / 0.7482 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/1.085, allocations: 239.6 kB / 0.7485 GB, free: 149 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007866/1.093, allocations: 6.656 MB / 0.755 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007411/1.094, allocations: 69.7 kB / 0.755 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.096, allocations: 4.371 MB / 0.7593 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.097, allocations: 1.1 MB / 0.7604 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/1.099, allocations: 1.784 MB / 0.7621 GB, free: 135 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.498e-05/1.099, allocations: 301.1 kB / 0.7624 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004059/1.103, allocations: 3.62 MB / 0.7659 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007348/1.111, allocations: 8.608 MB / 0.7744 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/1.124, allocations: 13.16 MB / 0.7872 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001919/1.124, allocations: 55.94 kB / 0.7873 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02216/1.147, allocations: 14.04 MB / 0.801 GB, free: 90.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.147, allocations: 80 kB / 0.801 GB, free: 90.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.147, allocations: 172 kB / 0.8012 GB, free: 90.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00492/1.152, allocations: 2.269 MB / 0.8034 GB, free: 87.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006036/1.158, allocations: 2.016 MB / 0.8054 GB, free: 85.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/1.172, allocations: 14.22 MB / 0.8193 GB, free: 71.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006641/1.178, allocations: 0.507 MB / 0.8198 GB, free: 70.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/1.18, allocations: 0.5117 MB / 0.8203 GB, free: 70.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004732/1.185, allocations: 2.98 MB / 0.8232 GB, free: 67.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.186, allocations: 0.5553 MB / 0.8237 GB, free: 66.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.197, allocations: 7.231 MB / 0.8308 GB, free: 59.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/1.197, allocations: 28.47 kB / 0.8308 GB, free: 59.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.197, allocations: 12 kB / 0.8308 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/1.197, allocations: 11.95 kB / 0.8308 GB, free: 59.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/1.219, allocations: 14.97 MB / 0.8455 GB, free: 44.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.22, allocations: 4 kB / 0.8455 GB, free: 44.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.222, allocations: 499.2 kB / 0.8459 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004546/1.226, allocations: 2.018 MB / 0.8479 GB, free: 41.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/1.227, allocations: 55.98 kB / 0.848 GB, free: 41.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/1.24, allocations: 13.58 MB / 0.8612 GB, free: 28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.24, allocations: 11.94 kB / 0.8612 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.254, allocations: 11.49 MB / 0.8725 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.256, allocations: 0.6265 MB / 0.8731 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008916/1.257, allocations: 55.44 kB / 0.8731 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/1.259, allocations: 207.6 kB / 0.8733 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/1.26, allocations: 177.6 kB / 0.8735 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.26, allocations: 76 kB / 0.8736 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005642/1.266, allocations: 4.264 MB / 0.8777 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 0 / 0.8777 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007835/1.273, allocations: 1.585 MB / 0.8793 GB, free: 9.348 MB / 0.5606 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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005642/1.274, allocations: 190 kB / 0.8795 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.285, allocations: 8.781 MB / 0.888 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.285, allocations: 5.75 kB / 0.888 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006074/1.291, allocations: 3.478 MB / 0.8914 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/1.296, allocations: 0.7245 MB / 0.8921 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/1.324, allocations: 14.9 MB / 0.9067 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00721/1.332, allocations: 4.539 MB / 0.9111 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00783/1.34, allocations: 2.79 MB / 0.9138 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.341, allocations: 383.4 kB / 0.9142 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/1.341, allocations: 0 / 0.9142 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of Templates: time 0.4291/1.771, allocations: 62.6 MB / 0.9753 GB, free: 198.1 MB / 0.6231 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches