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.001555/0.001555, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 79.56 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.111, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0154/0.1264, allocations: 15 MB / 495.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1371, allocations: 5.038 MB / 0.4884 GB, free: 1.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.1403, allocations: 115.7 kB / 0.4885 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.1516, allocations: 5.981 MB / 0.4944 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007545/0.1592, allocations: 2.731 MB / 0.4971 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.1628, allocations: 1.579 MB / 0.4986 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2055/0.3684, allocations: 7.772 MB / 0.5062 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008659/0.3771, allocations: 7.39 MB / 0.5134 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005988/0.3831, allocations: 2.966 MB / 0.5163 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007653/0.3908, allocations: 3.781 MB / 0.52 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004202/0.395, allocations: 0.5695 MB / 0.5206 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005625/0.4007, allocations: 1.388 MB / 0.5219 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004869/0.4056, allocations: 3.463 MB / 0.5253 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007165/0.4128, allocations: 3.842 MB / 0.529 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4228, allocations: 11.26 MB / 0.54 GB, free: 2.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4229, allocations: 0 / 0.54 GB, free: 2.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4229, allocations: 3.188 kB / 0.54 GB, free: 2.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003306/0.4232, allocations: 2.906 kB / 0.54 GB, free: 2.57 MB / 382.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.0168/0.44, allocations: 8.499 MB / 0.5483 GB, free: 12.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4401, allocations: 12.03 kB / 0.5484 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002458/0.4425, allocations: 1.166 MB / 0.5495 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4527, allocations: 2.528 MB / 0.552 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.4635, allocations: 5.284 MB / 0.5571 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.4639, allocations: 427.6 kB / 0.5575 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.4658, allocations: 0.5388 MB / 0.5581 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02946/0.4952, allocations: 16.68 MB / 0.5743 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.4954, allocations: 80.33 kB / 0.5744 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/0.4961, allocations: 267.9 kB / 0.5747 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003999/0.5001, allocations: 2.928 MB / 0.5775 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.5271, allocations: 12.78 MB / 0.59 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08721/0.6144, allocations: 64.29 MB / 0.6528 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.6302, allocations: 5.485 MB / 0.6582 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.6332, allocations: 2.12 MB / 0.6602 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/0.6504, allocations: 9.922 MB / 0.6699 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.6505, allocations: 55.16 kB / 0.67 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 6.402e-06/0.6505, allocations: 0 / 0.67 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=206): time 0.03895/0.6894, allocations: 14.06 MB / 0.6837 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.6895, allocations: 153.8 kB / 0.6839 GB, free: 376 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008019/0.6976, allocations: 6.314 MB / 0.69 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.6979, allocations: 63.45 kB / 0.6901 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003067/0.7009, allocations: 5.085 MB / 0.695 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007848/0.7017, allocations: 0.8183 MB / 0.6958 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/0.7036, allocations: 1.656 MB / 0.6975 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.7037, allocations: 305.1 kB / 0.6978 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/0.707, allocations: 2.292 MB / 0.7 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/0.7133, allocations: 7.641 MB / 0.7075 GB, free: 5.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2071/0.9204, allocations: 10.8 MB / 0.718 GB, free: 174.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002174/0.9207, allocations: 54.88 kB / 0.7181 GB, free: 174.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01866/0.9394, allocations: 9.565 MB / 0.7274 GB, free: 171.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.9395, allocations: 90.95 kB / 0.7275 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003037/0.9399, allocations: 190.8 kB / 0.7277 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.9403, allocations: 253.7 kB / 0.7279 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006176/0.9464, allocations: 1.9 MB / 0.7298 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002589/0.9467, allocations: 374.3 kB / 0.7301 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/0.9531, allocations: 403.7 kB / 0.7305 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.9542, allocations: 0.5121 MB / 0.731 GB, free: 171.2 MB / 0.545 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.005428/0.9597, allocations: 3.286 MB / 0.7342 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/0.9605, allocations: 0.5304 MB / 0.7347 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.9616, allocations: 0.6295 MB / 0.7353 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/0.9617, allocations: 23.73 kB / 0.7354 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.9617, allocations: 2.062 kB / 0.7354 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.9617, allocations: 8.906 kB / 0.7354 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.9808, allocations: 16.46 MB / 0.7514 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.852e-05/0.9808, allocations: 39.09 kB / 0.7515 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.982, allocations: 381.6 kB / 0.7518 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.596e-05/0.9821, allocations: 52.25 kB / 0.7519 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.9822, allocations: 90.56 kB / 0.752 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.985e-05/0.9822, allocations: 75.09 kB / 0.7521 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.426e-05/0.9823, allocations: 61.69 kB / 0.7521 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/0.9853, allocations: 3.948 MB / 0.756 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/0.9862, allocations: 0.6054 MB / 0.7566 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/0.9867, allocations: 101.6 kB / 0.7567 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.9883, allocations: 98.23 kB / 0.7568 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.9885, allocations: 263 kB / 0.757 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.9886, allocations: 111.6 kB / 0.7571 GB, free: 159.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005396/0.994, allocations: 3.948 MB / 0.761 GB, free: 158.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9941, allocations: 0 / 0.761 GB, free: 158.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006937/1.001, allocations: 1.298 MB / 0.7622 GB, free: 156.8 MB / 0.545 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.00342/1.004, allocations: 4.651 MB / 0.7668 GB, free: 151.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006717/1.011, allocations: 5.442 MB / 0.7721 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/1.011, allocations: 8.875 kB / 0.7721 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.012, allocations: 1.132 MB / 0.7732 GB, free: 146.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/1.017, allocations: 0.8528 MB / 0.774 GB, free: 145.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06718/1.084, allocations: 78.27 MB / 0.8505 GB, free: 55.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004614/1.088, allocations: 5.056 MB / 0.8554 GB, free: 50.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005582/1.094, allocations: 2.522 MB / 0.8579 GB, free: 47.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002835/1.097, allocations: 3.276 MB / 0.8611 GB, free: 44.52 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/1.097, allocations: 3.828 kB / 0.8611 GB, free: 44.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3165/1.413, allocations: 96.9 MB / 0.9557 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/11.42, allocations: 1.5 kB / 0.9557 GB, free: 181.1 MB / 0.5606 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