Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 75.89 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2977, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0152/0.3129, allocations: 14.99 MB / 0.5452 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3249, allocations: 5.037 MB / 0.5501 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004778/0.3297, allocations: 123.3 kB / 0.5502 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.3406, allocations: 5.966 MB / 0.556 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007033/0.3476, allocations: 2.813 MB / 0.5588 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.3512, allocations: 1.571 MB / 0.5603 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.3613, allocations: 7.79 MB / 0.5679 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00911/0.3704, allocations: 7.387 MB / 0.5751 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.3751, allocations: 2.945 MB / 0.578 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005545/0.3807, allocations: 3.793 MB / 0.5817 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001989/0.3827, allocations: 0.5703 MB / 0.5823 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.3867, allocations: 1.385 MB / 0.5836 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004499/0.3912, allocations: 3.534 MB / 0.5871 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007528/0.3988, allocations: 3.849 MB / 0.5908 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01794/0.4168, allocations: 11.67 MB / 0.6022 GB, free: 8.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4168, allocations: 0 / 0.6022 GB, free: 8.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4168, allocations: 0 / 0.6022 GB, free: 8.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005406/0.4174, allocations: 0 / 0.6022 GB, free: 8.086 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02357/0.441, allocations: 8.724 MB / 0.6107 GB, free: 15.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.4411, allocations: 16.03 kB / 0.6108 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003766/0.4448, allocations: 1.166 MB / 0.6119 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.4563, allocations: 2.558 MB / 0.6144 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.468, allocations: 5.432 MB / 0.6197 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.4685, allocations: 430.6 kB / 0.6201 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.4705, allocations: 0.5388 MB / 0.6206 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/0.5011, allocations: 16.68 MB / 0.6369 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/0.5014, allocations: 75.41 kB / 0.637 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009991/0.5024, allocations: 259.8 kB / 0.6372 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004191/0.5066, allocations: 2.931 MB / 0.6401 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/0.5324, allocations: 12.79 MB / 0.6526 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07829/0.6108, allocations: 64.1 MB / 0.7152 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4462/1.057, allocations: 5.487 MB / 0.7205 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/1.06, allocations: 2.116 MB / 0.7226 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/1.077, allocations: 9.941 MB / 0.7323 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.077, allocations: 55.06 kB / 0.7324 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.729e-06/1.077, allocations: 0 / 0.7324 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03434/1.111, allocations: 14.47 MB / 0.7465 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.111, allocations: 155.3 kB / 0.7466 GB, free: 148.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007305/1.118, allocations: 6.328 MB / 0.7528 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002705/1.119, allocations: 57.7 kB / 0.7529 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/1.121, allocations: 5.279 MB / 0.758 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006468/1.122, allocations: 0.8591 MB / 0.7589 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.123, allocations: 1.667 MB / 0.7605 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.396e-05/1.123, allocations: 301.1 kB / 0.7608 GB, free: 134.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/1.127, allocations: 2.288 MB / 0.763 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/1.132, allocations: 7.65 MB / 0.7705 GB, free: 122.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008834/1.141, allocations: 10.8 MB / 0.781 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/1.141, allocations: 56 kB / 0.7811 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0153/1.157, allocations: 9.6 MB / 0.7905 GB, free: 99.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.157, allocations: 84.19 kB / 0.7906 GB, free: 99.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/1.157, allocations: 196 kB / 0.7907 GB, free: 99.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/1.157, allocations: 251.9 kB / 0.791 GB, free: 98.77 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.162, allocations: 1.899 MB / 0.7928 GB, free: 96.87 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001804/1.163, allocations: 370.6 kB / 0.7932 GB, free: 96.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/1.168, allocations: 413.5 kB / 0.7936 GB, free: 96.11 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000794/1.169, allocations: 0.5078 MB / 0.7941 GB, free: 95.6 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.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 (1027): * Single equations (assignments): 1016 * 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.004058/1.173, allocations: 3.292 MB / 0.7973 GB, free: 92.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008076/1.174, allocations: 0.5587 MB / 0.7978 GB, free: 91.73 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009496/1.175, allocations: 0.636 MB / 0.7985 GB, free: 91.09 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.175, allocations: 20 kB / 0.7985 GB, free: 91.07 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.175, allocations: 0 / 0.7985 GB, free: 91.07 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.175, allocations: 11.97 kB / 0.7985 GB, free: 91.06 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/1.195, allocations: 16.45 MB / 0.8146 GB, free: 74.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-05/1.195, allocations: 40.19 kB / 0.8146 GB, free: 74 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.197, allocations: 387.2 kB / 0.815 GB, free: 73.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.27e-05/1.197, allocations: 48 kB / 0.815 GB, free: 73.58 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.197, allocations: 88 kB / 0.8151 GB, free: 73.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.621e-05/1.197, allocations: 83.58 kB / 0.8152 GB, free: 73.41 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-05/1.197, allocations: 63.73 kB / 0.8152 GB, free: 73.35 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/1.2, allocations: 3.969 MB / 0.8191 GB, free: 68.83 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.202, allocations: 0.6377 MB / 0.8197 GB, free: 68.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006652/1.202, allocations: 88.16 kB / 0.8198 GB, free: 68.08 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.204, allocations: 103.9 kB / 0.8199 GB, free: 67.98 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.204, allocations: 262.8 kB / 0.8202 GB, free: 67.72 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.205, allocations: 111.9 kB / 0.8203 GB, free: 67.61 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005775/1.21, allocations: 3.952 MB / 0.8241 GB, free: 63.67 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.81e-07/1.21, allocations: 0 / 0.8241 GB, free: 63.67 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007104/1.218, allocations: 1.299 MB / 0.8254 GB, free: 62.38 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.004167/1.222, allocations: 4.69 MB / 0.83 GB, free: 57.14 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00708/1.229, allocations: 5.379 MB / 0.8352 GB, free: 51.81 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.552e-05/1.229, allocations: 8.125 kB / 0.8352 GB, free: 51.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/1.23, allocations: 1.132 MB / 0.8364 GB, free: 50.68 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005617/1.236, allocations: 0.8554 MB / 0.8372 GB, free: 49.84 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08455/1.32, allocations: 65.16 MB / 0.9008 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007388/1.328, allocations: 5.055 MB / 0.9058 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006716/1.335, allocations: 2.51 MB / 0.9082 GB, free: 15.96 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005162/1.34, allocations: 3.28 MB / 0.9114 GB, free: 12.68 MB / 0.6076 GB Notification: Performance of SimCode: time 7.21e-07/1.34, allocations: 3.938 kB / 0.9114 GB, free: 12.68 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3929/1.733, allocations: 91.67 MB / 1.001 GB, free: 191.3 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.88/29.61, allocations: 6.578 kB / 1.001 GB, free: 191.3 MB / 0.6388 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.csv","/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_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches