Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.93 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] 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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 79.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2859, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01168/0.2976, allocations: 9.593 MB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.3033, allocations: 2.955 MB / 0.5738 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006876/0.304, allocations: 55.81 kB / 0.5738 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.3077, allocations: 2.033 MB / 0.5758 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.3103, allocations: 1.129 MB / 0.5769 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.311, allocations: 291.4 kB / 0.5772 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.314, allocations: 2.329 MB / 0.5794 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.3162, allocations: 1.742 MB / 0.5811 GB, free: 36 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.3174, allocations: 0.8917 MB / 0.582 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.3191, allocations: 1.25 MB / 0.5832 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.3194, allocations: 192 kB / 0.5834 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.3207, allocations: 0.7333 MB / 0.5841 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.3219, allocations: 1.133 MB / 0.5852 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.3236, allocations: 1.316 MB / 0.5865 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005476/0.3291, allocations: 4.326 MB / 0.5908 GB, free: 6.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.3291, allocations: 0 / 0.5908 GB, free: 6.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3291, allocations: 0 / 0.5908 GB, free: 6.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.3292, allocations: 7.922 kB / 0.5908 GB, free: 6.152 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00541/0.3347, allocations: 2.862 MB / 0.5936 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3347, allocations: 12.03 kB / 0.5936 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.037e-05/0.3348, allocations: 67.88 kB / 0.5936 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006099/0.3354, allocations: 487 kB / 0.5941 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.3405, allocations: 1.574 MB / 0.5956 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.3433, allocations: 1.279 MB / 0.5969 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.3434, allocations: 147.6 kB / 0.597 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/0.3439, allocations: 187.9 kB / 0.5972 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.355, allocations: 6.242 MB / 0.6033 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/0.3551, allocations: 11.88 kB / 0.6033 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.3554, allocations: 87.91 kB / 0.6034 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002277/0.3577, allocations: 1.344 MB / 0.6047 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.3681, allocations: 5.334 MB / 0.6099 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02958/0.3977, allocations: 19.96 MB / 0.6294 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.402, allocations: 1.552 MB / 0.6309 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.4031, allocations: 0.6328 MB / 0.6315 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006436/0.4095, allocations: 3.035 MB / 0.6345 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.4096, allocations: 39 kB / 0.6345 GB, free: 8.297 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/0.4096, allocations: 0 / 0.6345 GB, free: 8.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005679/0.4153, allocations: 1.982 MB / 0.6365 GB, free: 6.305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.4153, allocations: 59.84 kB / 0.6365 GB, free: 6.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.4185, allocations: 1.949 MB / 0.6384 GB, free: 4.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/0.4185, allocations: 33.7 kB / 0.6385 GB, free: 4.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.4202, allocations: 1.907 MB / 0.6403 GB, free: 2.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.4206, allocations: 333.5 kB / 0.6407 GB, free: 1.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.4217, allocations: 0.6234 MB / 0.6413 GB, free: 1.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4219, allocations: 357.9 kB / 0.6416 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.4233, allocations: 0.8842 MB / 0.6425 GB, free: 112 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.4262, allocations: 2.747 MB / 0.6451 GB, free: 12.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/0.431, allocations: 3.968 MB / 0.649 GB, free: 7.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-05/0.431, allocations: 20 kB / 0.649 GB, free: 7.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006255/0.4373, allocations: 3.527 MB / 0.6525 GB, free: 3.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.4373, allocations: 39.94 kB / 0.6525 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-05/0.4374, allocations: 64.91 kB / 0.6526 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001046/0.4375, allocations: 88 kB / 0.6527 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.4396, allocations: 0.6589 MB / 0.6533 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/0.4397, allocations: 127.5 kB / 0.6534 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.4418, allocations: 432.7 kB / 0.6538 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.4422, allocations: 184 kB / 0.654 GB, free: 2.406 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.002073/0.4442, allocations: 1.357 MB / 0.6553 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.4445, allocations: 162.9 kB / 0.6555 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.4449, allocations: 192.9 kB / 0.6557 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.4449, allocations: 8 kB / 0.6557 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4449, allocations: 0 / 0.6557 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.445, allocations: 7.922 kB / 0.6557 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/0.4529, allocations: 4.045 MB / 0.6597 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.4529, allocations: 4 kB / 0.6597 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.4534, allocations: 95.81 kB / 0.6597 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.4534, allocations: 11.94 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.4534, allocations: 23.98 kB / 0.6598 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/0.4535, allocations: 11.98 kB / 0.6598 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.4535, allocations: 11.94 kB / 0.6598 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.4551, allocations: 1.243 MB / 0.661 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.4555, allocations: 186.5 kB / 0.6612 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.4558, allocations: 12 kB / 0.6612 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.4564, allocations: 31.97 kB / 0.6612 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4565, allocations: 55.81 kB / 0.6613 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.4566, allocations: 24 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002056/0.4586, allocations: 1.271 MB / 0.6626 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4586, allocations: 0 / 0.6626 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002519/0.4611, allocations: 0.7007 MB / 0.6632 GB, free: 8.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002183/0.4633, allocations: 1.841 MB / 0.665 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003147/0.4665, allocations: 1.968 MB / 0.667 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4665, allocations: 0 / 0.667 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.467, allocations: 437 kB / 0.6674 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.4683, allocations: 237.8 kB / 0.6676 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03124/0.4996, allocations: 20.88 MB / 0.688 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/0.5027, allocations: 2.278 MB / 0.6902 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002215/0.5049, allocations: 0.9441 MB / 0.6911 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/0.5066, allocations: 1.034 MB / 0.6922 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.5066, allocations: 7.938 kB / 0.6922 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07017/0.5768, allocations: 35.26 MB / 0.7266 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.3, allocations: 7.656 kB / 0.7266 GB, free: 5.348 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.967654992011376]