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.001446/0.001446, allocations: 117.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, allocations: 203.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 79.86 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2869, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01571/0.3026, allocations: 14.98 MB / 0.5451 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.3137, allocations: 5.046 MB / 0.5501 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.3166, allocations: 120.6 kB / 0.5502 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.3274, allocations: 5.966 MB / 0.556 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007131/0.3346, allocations: 2.735 MB / 0.5587 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.3382, allocations: 1.583 MB / 0.5602 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.3491, allocations: 7.787 MB / 0.5678 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009046/0.3582, allocations: 7.38 MB / 0.575 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.363, allocations: 2.941 MB / 0.5779 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005619/0.3687, allocations: 3.782 MB / 0.5816 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001883/0.3706, allocations: 0.5742 MB / 0.5822 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.3743, allocations: 1.401 MB / 0.5835 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004112/0.3784, allocations: 3.523 MB / 0.587 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005491/0.3839, allocations: 3.853 MB / 0.5907 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3965, allocations: 11.63 MB / 0.6021 GB, free: 8.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3965, allocations: 0 / 0.6021 GB, free: 8.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3965, allocations: 0 / 0.6021 GB, free: 8.215 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003902/0.3969, allocations: 0 / 0.6021 GB, free: 8.215 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.01946/0.4164, allocations: 8.499 MB / 0.6104 GB, free: 15.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4165, allocations: 12.03 kB / 0.6104 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002688/0.4192, allocations: 1.166 MB / 0.6115 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.43, allocations: 2.514 MB / 0.614 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.4428, allocations: 5.406 MB / 0.6193 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.4433, allocations: 426.6 kB / 0.6197 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.4452, allocations: 0.5426 MB / 0.6202 GB, free: 5.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03189/0.4771, allocations: 16.67 MB / 0.6365 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/0.4774, allocations: 79.39 kB / 0.6366 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/0.479, allocations: 259.8 kB / 0.6368 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004383/0.4833, allocations: 2.927 MB / 0.6397 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02686/0.5102, allocations: 12.78 MB / 0.6522 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0859/0.5962, allocations: 63.98 MB / 0.7146 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4271/1.023, allocations: 5.485 MB / 0.72 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/1.026, allocations: 2.12 MB / 0.7221 GB, free: 159.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01572/1.042, allocations: 9.924 MB / 0.7318 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.042, allocations: 54.53 kB / 0.7318 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.569e-06/1.042, allocations: 0 / 0.7318 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03271/1.075, allocations: 14.07 MB / 0.7456 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.075, allocations: 149.3 kB / 0.7457 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007054/1.082, allocations: 6.321 MB / 0.7519 GB, free: 143.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/1.082, allocations: 61.53 kB / 0.7519 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002156/1.084, allocations: 5.077 MB / 0.7569 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/1.085, allocations: 0.8228 MB / 0.7577 GB, free: 137.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/1.087, allocations: 1.657 MB / 0.7593 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/1.087, allocations: 301.1 kB / 0.7596 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/1.09, allocations: 2.291 MB / 0.7618 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00447/1.094, allocations: 7.643 MB / 0.7693 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007885/1.102, allocations: 10.81 MB / 0.7799 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.102, allocations: 56 kB / 0.7799 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01321/1.115, allocations: 9.572 MB / 0.7893 GB, free: 99.79 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/1.115, allocations: 84 kB / 0.7893 GB, free: 99.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/1.116, allocations: 192.9 kB / 0.7895 GB, free: 99.52 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/1.116, allocations: 251.9 kB / 0.7898 GB, free: 99.27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005123/1.121, allocations: 1.899 MB / 0.7916 GB, free: 97.37 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001873/1.121, allocations: 378.5 kB / 0.792 GB, free: 97 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005136/1.126, allocations: 403.5 kB / 0.7924 GB, free: 96.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000773/1.127, allocations: 0.5113 MB / 0.7929 GB, free: 96.09 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.003988/1.131, allocations: 3.291 MB / 0.7961 GB, free: 92.79 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/1.132, allocations: 0.5244 MB / 0.7966 GB, free: 92.26 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/1.133, allocations: 0.6321 MB / 0.7972 GB, free: 91.62 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/1.133, allocations: 20 kB / 0.7972 GB, free: 91.6 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.133, allocations: 0 / 0.7972 GB, free: 91.6 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/1.133, allocations: 11.97 kB / 0.7972 GB, free: 91.59 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.152, allocations: 16.46 MB / 0.8133 GB, free: 74.56 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/1.152, allocations: 40 kB / 0.8133 GB, free: 74.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.153, allocations: 383.2 kB / 0.8137 GB, free: 74.15 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.973e-05/1.153, allocations: 48 kB / 0.8138 GB, free: 74.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/1.153, allocations: 87.98 kB / 0.8138 GB, free: 74.02 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.212e-05/1.153, allocations: 71.72 kB / 0.8139 GB, free: 73.95 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-05/1.153, allocations: 59.75 kB / 0.814 GB, free: 73.89 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/1.156, allocations: 3.945 MB / 0.8178 GB, free: 69.38 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.158, allocations: 0.6033 MB / 0.8184 GB, free: 68.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/1.158, allocations: 88.16 kB / 0.8185 GB, free: 68.67 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.16, allocations: 103.9 kB / 0.8186 GB, free: 68.57 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.16, allocations: 266.7 kB / 0.8188 GB, free: 68.31 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.16, allocations: 115 kB / 0.819 GB, free: 68.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004883/1.165, allocations: 3.955 MB / 0.8228 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.81e-07/1.165, allocations: 0 / 0.8228 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005894/1.171, allocations: 1.299 MB / 0.8241 GB, free: 62.96 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.003522/1.175, allocations: 4.65 MB / 0.8286 GB, free: 57.76 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006735/1.181, allocations: 5.381 MB / 0.8339 GB, free: 52.45 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-05/1.181, allocations: 4 kB / 0.8339 GB, free: 52.45 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/1.183, allocations: 1.137 MB / 0.835 GB, free: 51.32 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/1.188, allocations: 0.855 MB / 0.8358 GB, free: 50.48 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07424/1.262, allocations: 64.87 MB / 0.8992 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006483/1.268, allocations: 5.055 MB / 0.9041 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00566/1.274, allocations: 2.518 MB / 0.9066 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004071/1.278, allocations: 3.276 MB / 0.9098 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/1.278, allocations: 3.938 kB / 0.9098 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3442/1.622, allocations: 92.82 MB / 1 GB, free: 191.5 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.01/38.63, allocations: 4.891 kB / 1 GB, free: 191.5 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