Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 112.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3434, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01623/0.3596, allocations: 15.75 MB / 0.535 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3718, allocations: 4.947 MB / 0.5398 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.3757, allocations: 107.5 kB / 0.5399 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.3859, allocations: 5.025 MB / 0.5448 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.3943, allocations: 2.552 MB / 0.5473 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.3974, allocations: 1.104 MB / 0.5484 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.4079, allocations: 6.868 MB / 0.5551 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008343/0.4163, allocations: 5.817 MB / 0.5608 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.4213, allocations: 2.442 MB / 0.5631 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/0.4269, allocations: 3.267 MB / 0.5663 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.4291, allocations: 0.5195 MB / 0.5668 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.4333, allocations: 1.416 MB / 0.5682 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003971/0.4373, allocations: 3.067 MB / 0.5712 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006417/0.4437, allocations: 3.429 MB / 0.5746 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.4583, allocations: 10.64 MB / 0.585 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4583, allocations: 0 / 0.585 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4583, allocations: 0 / 0.585 GB, free: 9.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004365/0.4588, allocations: 0 / 0.585 GB, free: 9.039 MB / 446.1 MB 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.01876/0.4776, allocations: 7.526 MB / 0.5923 GB, free: 1.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4776, allocations: 8.031 kB / 0.5923 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.4911, allocations: 2.761 MB / 0.595 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.5013, allocations: 4.374 MB / 0.5993 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.5017, allocations: 365.7 kB / 0.5996 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.5033, allocations: 479.7 kB / 0.6001 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/0.5366, allocations: 15.05 MB / 0.6148 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000261/0.5369, allocations: 67.38 kB / 0.6149 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/0.5381, allocations: 235.8 kB / 0.6151 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005285/0.5434, allocations: 2.875 MB / 0.6179 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.5705, allocations: 12.81 MB / 0.6304 GB, free: 9.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07883/0.6494, allocations: 58.84 MB / 0.6879 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/0.6681, allocations: 7.274 MB / 0.695 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005276/0.6735, allocations: 3.902 MB / 0.6988 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/0.6893, allocations: 9.012 MB / 0.7076 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.6894, allocations: 60.56 kB / 0.7076 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.781e-06/0.6894, allocations: 0 / 0.7076 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3384/1.028, allocations: 32.85 MB / 0.7397 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/1.028, allocations: 238 kB / 0.7399 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007195/1.035, allocations: 6.722 MB / 0.7465 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005883/1.036, allocations: 69.25 kB / 0.7466 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.038, allocations: 4.462 MB / 0.7509 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/1.039, allocations: 1.103 MB / 0.752 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/1.041, allocations: 1.793 MB / 0.7537 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.742e-05/1.041, allocations: 305.1 kB / 0.754 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.045, allocations: 3.628 MB / 0.7576 GB, free: 148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005293/1.05, allocations: 8.657 MB / 0.766 GB, free: 137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.061, allocations: 13.22 MB / 0.7789 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.922e-05/1.061, allocations: 48 kB / 0.779 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02076/1.082, allocations: 14.09 MB / 0.7928 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/1.082, allocations: 80 kB / 0.7928 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.082, allocations: 176 kB / 0.793 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00493/1.087, allocations: 2.263 MB / 0.7952 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005895/1.093, allocations: 2.027 MB / 0.7972 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.106, allocations: 14.21 MB / 0.8111 GB, free: 88.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/1.113, allocations: 0.5147 MB / 0.8116 GB, free: 87.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.114, allocations: 0.5116 MB / 0.8121 GB, free: 87.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.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 (1064): * Single equations (assignments): 1057 * 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.004245/1.118, allocations: 3.042 MB / 0.815 GB, free: 84.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.119, allocations: 0.5592 MB / 0.8156 GB, free: 83.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.13, allocations: 7.225 MB / 0.8226 GB, free: 76.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-05/1.13, allocations: 28 kB / 0.8227 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/1.13, allocations: 12 kB / 0.8227 GB, free: 76.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.13, allocations: 23.88 kB / 0.8227 GB, free: 76.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.151, allocations: 15.07 MB / 0.8374 GB, free: 61.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/1.152, allocations: 4 kB / 0.8374 GB, free: 61.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.154, allocations: 499.7 kB / 0.8379 GB, free: 60.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004531/1.158, allocations: 2.014 MB / 0.8399 GB, free: 58.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004646/1.159, allocations: 59.98 kB / 0.8399 GB, free: 58.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.172, allocations: 13.58 MB / 0.8532 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.172, allocations: 4 kB / 0.8532 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.187, allocations: 11.49 MB / 0.8644 GB, free: 32.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.189, allocations: 0.6303 MB / 0.865 GB, free: 32.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.19, allocations: 60.08 kB / 0.8651 GB, free: 32.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.193, allocations: 199.7 kB / 0.8653 GB, free: 32.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005832/1.193, allocations: 185.6 kB / 0.8655 GB, free: 31.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.194, allocations: 72 kB / 0.8655 GB, free: 31.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005587/1.199, allocations: 4.3 MB / 0.8697 GB, free: 27.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.199, allocations: 3.938 kB / 0.8697 GB, free: 27.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007153/1.206, allocations: 1.615 MB / 0.8713 GB, free: 25.89 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.0006488/1.207, allocations: 193.2 kB / 0.8715 GB, free: 25.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.218, allocations: 8.803 MB / 0.8801 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.218, allocations: 0 / 0.8801 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005012/1.223, allocations: 3.485 MB / 0.8835 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.227, allocations: 0.7341 MB / 0.8842 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.25, allocations: 15.74 MB / 0.8996 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006396/1.256, allocations: 4.601 MB / 0.9041 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/1.258, allocations: 443.3 kB / 0.9045 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.258, allocations: 0 / 0.9045 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.3823/1.64, allocations: 146.5 MB / 1.048 GB, free: 109.8 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches