Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.00146/0.00146, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.327/1.327, allocations: 222.9 MB / 243.1 MB, free: 15.03 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.1883/0.1883, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3266, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0148/0.3415, allocations: 15.4 MB / 0.5346 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.3527, allocations: 5.115 MB / 0.5396 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.356, allocations: 124.3 kB / 0.5397 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.367, allocations: 6.014 MB / 0.5456 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.375, allocations: 2.862 MB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.3787, allocations: 1.575 MB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.39, allocations: 7.73 MB / 0.5575 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009741/0.3998, allocations: 7.464 MB / 0.5648 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004923/0.4047, allocations: 3.007 MB / 0.5677 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005872/0.4106, allocations: 3.875 MB / 0.5715 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.4125, allocations: 0.5859 MB / 0.572 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.4162, allocations: 1.432 MB / 0.5734 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004196/0.4205, allocations: 3.663 MB / 0.577 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005102/0.4256, allocations: 3.989 MB / 0.5809 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.4377, allocations: 12.09 MB / 0.5927 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4377, allocations: 0 / 0.5927 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4378, allocations: 7.984 kB / 0.5927 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003307/0.4381, allocations: 4 kB / 0.5927 GB, free: 0.832 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01734/0.4554, allocations: 8.73 MB / 0.6013 GB, free: 8.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4555, allocations: 8.031 kB / 0.6013 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.4657, allocations: 2.584 MB / 0.6038 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008503/0.4743, allocations: 4.704 MB / 0.6084 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.4746, allocations: 446.7 kB / 0.6088 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.4763, allocations: 0.5504 MB / 0.6094 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03059/0.5069, allocations: 17.44 MB / 0.6264 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002158/0.5072, allocations: 67.41 kB / 0.6265 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.5083, allocations: 271.8 kB / 0.6267 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004638/0.5129, allocations: 3.17 MB / 0.6298 GB, free: 9.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02697/0.5399, allocations: 13.41 MB / 0.6429 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07687/0.6168, allocations: 65.76 MB / 0.7071 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.6318, allocations: 5.492 MB / 0.7125 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.6346, allocations: 2.122 MB / 0.7146 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4218/1.056, allocations: 10 MB / 0.7243 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.057, allocations: 53.69 kB / 0.7244 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 6.773e-06/1.057, allocations: 3.906 kB / 0.7244 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03683/1.093, allocations: 14.26 MB / 0.7383 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/1.093, allocations: 152.5 kB / 0.7384 GB, free: 157 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007774/1.101, allocations: 6.385 MB / 0.7447 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003209/1.102, allocations: 60.75 kB / 0.7447 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.104, allocations: 5.238 MB / 0.7499 GB, free: 150.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/1.105, allocations: 0.8216 MB / 0.7507 GB, free: 150 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/1.107, allocations: 1.699 MB / 0.7523 GB, free: 149 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.455e-05/1.107, allocations: 305.1 kB / 0.7526 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002935/1.11, allocations: 2.344 MB / 0.7549 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004785/1.115, allocations: 7.764 MB / 0.7625 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00815/1.123, allocations: 10.99 MB / 0.7732 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/1.123, allocations: 56.88 kB / 0.7733 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01468/1.138, allocations: 9.754 MB / 0.7828 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.138, allocations: 88 kB / 0.7829 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/1.138, allocations: 195.9 kB / 0.7831 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/1.138, allocations: 256.1 kB / 0.7833 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005438/1.144, allocations: 1.946 MB / 0.7852 GB, free: 112 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001844/1.144, allocations: 382.5 kB / 0.7856 GB, free: 111.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005666/1.149, allocations: 415.1 kB / 0.786 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000917/1.15, allocations: 0.5273 MB / 0.7865 GB, free: 110.7 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1055): * Single equations (assignments): 1044 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004639/1.155, allocations: 3.404 MB / 0.7898 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009458/1.156, allocations: 0.5321 MB / 0.7903 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/1.157, allocations: 0.6326 MB / 0.7909 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-05/1.157, allocations: 20 kB / 0.791 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/1.157, allocations: 7.875 kB / 0.791 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.157, allocations: 15.91 kB / 0.791 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/1.177, allocations: 16.71 MB / 0.8073 GB, free: 88.76 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/1.177, allocations: 40 kB / 0.8073 GB, free: 88.72 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.178, allocations: 383.2 kB / 0.8077 GB, free: 88.34 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.062e-05/1.178, allocations: 52.06 kB / 0.8078 GB, free: 88.29 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.178, allocations: 88 kB / 0.8078 GB, free: 88.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-05/1.178, allocations: 71.72 kB / 0.8079 GB, free: 88.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-05/1.178, allocations: 63.69 kB / 0.808 GB, free: 88.07 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/1.182, allocations: 3.945 MB / 0.8118 GB, free: 83.58 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.183, allocations: 0.615 MB / 0.8124 GB, free: 82.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/1.183, allocations: 91.91 kB / 0.8125 GB, free: 82.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.185, allocations: 103.9 kB / 0.8126 GB, free: 82.75 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.185, allocations: 258.8 kB / 0.8129 GB, free: 82.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.185, allocations: 104 kB / 0.813 GB, free: 82.39 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005327/1.191, allocations: 3.984 MB / 0.8168 GB, free: 78.42 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.82e-07/1.191, allocations: 0 / 0.8168 GB, free: 78.42 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007347/1.198, allocations: 1.372 MB / 0.8182 GB, free: 77.06 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * Number of states: 0 () * 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 (201): * Single equations (assignments): 198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005931/1.199, allocations: 248.9 kB / 0.8184 GB, free: 76.81 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007468/1.206, allocations: 5.486 MB / 0.8238 GB, free: 71.39 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.64e-05/1.206, allocations: 4.375 kB / 0.8238 GB, free: 71.39 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.208, allocations: 1.128 MB / 0.8249 GB, free: 70.27 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/1.213, allocations: 0.8881 MB / 0.8258 GB, free: 69.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.235, allocations: 15.96 MB / 0.8413 GB, free: 52.87 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00593/1.241, allocations: 5.218 MB / 0.8464 GB, free: 47.62 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.242, allocations: 419.4 kB / 0.8468 GB, free: 47.21 MB / 0.5607 GB Notification: Performance of SimCode: time 9.32e-07/1.242, allocations: 0 / 0.8468 GB, free: 47.21 MB / 0.5607 GB Notification: Performance of Templates: time 0.116/1.358, allocations: 87.4 MB / 0.9322 GB, free: 7.883 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches