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.001301/0.001301, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 75.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3182, allocations: 62.45 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0167/0.3349, allocations: 14.98 MB / 0.5453 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.3464, allocations: 5.045 MB / 0.5502 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.3494, allocations: 123.6 kB / 0.5503 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.361, allocations: 5.966 MB / 0.5561 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007788/0.3688, allocations: 2.735 MB / 0.5588 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.3725, allocations: 1.575 MB / 0.5603 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.3843, allocations: 7.776 MB / 0.5679 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.3944, allocations: 7.394 MB / 0.5752 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/0.4001, allocations: 2.964 MB / 0.578 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006083/0.4062, allocations: 3.789 MB / 0.5817 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.4083, allocations: 0.5703 MB / 0.5823 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.412, allocations: 1.381 MB / 0.5837 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004321/0.4164, allocations: 3.456 MB / 0.587 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006035/0.4224, allocations: 3.845 MB / 0.5908 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.4371, allocations: 11.68 MB / 0.6022 GB, free: 8.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4371, allocations: 7.938 kB / 0.6022 GB, free: 8.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4372, allocations: 0 / 0.6022 GB, free: 8.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003295/0.4375, allocations: 0 / 0.6022 GB, free: 8.039 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.0194/0.4569, allocations: 8.724 MB / 0.6107 GB, free: 15.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.457, allocations: 8.031 kB / 0.6107 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002712/0.4597, allocations: 1.17 MB / 0.6119 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.4705, allocations: 2.566 MB / 0.6144 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.482, allocations: 5.428 MB / 0.6197 GB, free: 5.953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004682/0.4825, allocations: 430.6 kB / 0.6201 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/0.4848, allocations: 0.5349 MB / 0.6206 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03452/0.5194, allocations: 16.68 MB / 0.6369 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/0.5196, allocations: 79.39 kB / 0.637 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/0.5209, allocations: 259.8 kB / 0.6372 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004883/0.5258, allocations: 2.927 MB / 0.6401 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.5553, allocations: 12.78 MB / 0.6526 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08704/0.6424, allocations: 64.1 MB / 0.7152 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.43/1.072, allocations: 5.481 MB / 0.7205 GB, free: 159.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/1.076, allocations: 2.121 MB / 0.7226 GB, free: 159.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/1.093, allocations: 9.953 MB / 0.7323 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.093, allocations: 46.94 kB / 0.7323 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.859e-06/1.093, allocations: 0 / 0.7323 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.0345/1.127, allocations: 14.46 MB / 0.7465 GB, free: 148.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.127, allocations: 152 kB / 0.7466 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007468/1.135, allocations: 6.336 MB / 0.7528 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/1.135, allocations: 57.64 kB / 0.7529 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/1.138, allocations: 5.282 MB / 0.758 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/1.138, allocations: 0.8544 MB / 0.7588 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/1.14, allocations: 1.667 MB / 0.7605 GB, free: 135 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/1.14, allocations: 301.1 kB / 0.7608 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/1.143, allocations: 2.299 MB / 0.763 GB, free: 132.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/1.148, allocations: 7.633 MB / 0.7705 GB, free: 122.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008055/1.156, allocations: 10.81 MB / 0.781 GB, free: 108.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.156, allocations: 56 kB / 0.7811 GB, free: 108.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01384/1.17, allocations: 9.6 MB / 0.7904 GB, free: 99.07 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.17, allocations: 84 kB / 0.7905 GB, free: 98.99 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.17, allocations: 192 kB / 0.7907 GB, free: 98.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/1.17, allocations: 255.9 kB / 0.791 GB, free: 98.55 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005215/1.175, allocations: 1.903 MB / 0.7928 GB, free: 96.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00021/1.176, allocations: 370.6 kB / 0.7932 GB, free: 96.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.181, allocations: 409.1 kB / 0.7936 GB, free: 95.89 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008706/1.182, allocations: 0.5078 MB / 0.7941 GB, free: 95.38 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.004266/1.186, allocations: 3.288 MB / 0.7973 GB, free: 92.08 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008153/1.187, allocations: 0.5626 MB / 0.7978 GB, free: 91.51 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.188, allocations: 0.632 MB / 0.7984 GB, free: 90.87 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/1.188, allocations: 20 kB / 0.7984 GB, free: 90.85 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.188, allocations: 11.94 kB / 0.7985 GB, free: 90.84 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.188, allocations: 7.969 kB / 0.7985 GB, free: 90.83 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/1.209, allocations: 16.46 MB / 0.8145 GB, free: 73.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-05/1.209, allocations: 40 kB / 0.8146 GB, free: 73.78 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.21, allocations: 383.2 kB / 0.8149 GB, free: 73.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.403e-05/1.21, allocations: 52 kB / 0.815 GB, free: 73.35 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/1.21, allocations: 80 kB / 0.8151 GB, free: 73.27 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.661e-05/1.21, allocations: 83.34 kB / 0.8151 GB, free: 73.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.273e-05/1.21, allocations: 59.75 kB / 0.8152 GB, free: 73.14 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/1.214, allocations: 3.971 MB / 0.8191 GB, free: 68.61 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.215, allocations: 0.6377 MB / 0.8197 GB, free: 67.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.216, allocations: 91.95 kB / 0.8198 GB, free: 67.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.219, allocations: 103.6 kB / 0.8199 GB, free: 67.76 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/1.219, allocations: 258.8 kB / 0.8201 GB, free: 67.51 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.219, allocations: 115.9 kB / 0.8202 GB, free: 67.39 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006053/1.225, allocations: 3.944 MB / 0.8241 GB, free: 63.46 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.71e-07/1.226, allocations: 0 / 0.8241 GB, free: 63.46 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007964/1.234, allocations: 1.305 MB / 0.8254 GB, free: 62.16 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.004434/1.238, allocations: 4.684 MB / 0.8299 GB, free: 56.92 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007149/1.245, allocations: 5.385 MB / 0.8352 GB, free: 51.59 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-05/1.245, allocations: 4 kB / 0.8352 GB, free: 51.59 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.247, allocations: 1.135 MB / 0.8363 GB, free: 50.46 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/1.252, allocations: 0.858 MB / 0.8372 GB, free: 49.61 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08758/1.34, allocations: 65.16 MB / 0.9008 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/1.35, allocations: 5.052 MB / 0.9057 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007086/1.357, allocations: 2.522 MB / 0.9082 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005612/1.363, allocations: 3.272 MB / 0.9114 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/1.363, allocations: 4 kB / 0.9114 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3861/1.749, allocations: 91.68 MB / 1.001 GB, free: 190.9 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.76/28.5, allocations: 10.12 kB / 1.001 GB, free: 190.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches