Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001295/0.001295, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00156/0.00156, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.2214/0.2214, allocations: 46.95 MB / 361.6 MB, free: 3.938 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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 75.88 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.286, allocations: 66.08 MB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01126/0.2973, allocations: 8.346 MB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006289/0.3036, allocations: 2.773 MB / 0.5723 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.3047, allocations: 55.81 kB / 0.5723 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.3085, allocations: 1.935 MB / 0.5742 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.3114, allocations: 1.137 MB / 0.5753 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.3121, allocations: 295.4 kB / 0.5756 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.3152, allocations: 2.329 MB / 0.5779 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.3174, allocations: 1.742 MB / 0.5796 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3185, allocations: 0.8879 MB / 0.5805 GB, free: 444 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.3202, allocations: 1.254 MB / 0.5817 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.3206, allocations: 192 kB / 0.5819 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3218, allocations: 0.6201 MB / 0.5825 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.323, allocations: 1.133 MB / 0.5836 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3241, allocations: 0.9471 MB / 0.5845 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.3293, allocations: 4.346 MB / 0.5888 GB, free: 7.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3293, allocations: 0 / 0.5888 GB, free: 7.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3293, allocations: 0 / 0.5888 GB, free: 7.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.359e-05/0.3294, allocations: 0 / 0.5888 GB, free: 7.914 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.005279/0.3346, allocations: 2.866 MB / 0.5916 GB, free: 5.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3347, allocations: 8.031 kB / 0.5916 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.69e-05/0.3348, allocations: 71.92 kB / 0.5916 GB, free: 4.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006398/0.3354, allocations: 483.1 kB / 0.5921 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/0.3406, allocations: 1.582 MB / 0.5936 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.3434, allocations: 1.279 MB / 0.5949 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3436, allocations: 147.6 kB / 0.595 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.344, allocations: 191.9 kB / 0.5952 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.3551, allocations: 6.25 MB / 0.6013 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.3551, allocations: 11.88 kB / 0.6013 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.3554, allocations: 87.91 kB / 0.6014 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002211/0.3576, allocations: 1.34 MB / 0.6027 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.3678, allocations: 5.334 MB / 0.6079 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.3954, allocations: 19.02 MB / 0.6265 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.3997, allocations: 1.549 MB / 0.628 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.4008, allocations: 0.6426 MB / 0.6286 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006348/0.4071, allocations: 2.891 MB / 0.6315 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.4072, allocations: 38.94 kB / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.958e-06/0.4072, allocations: 0 / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005733/0.4129, allocations: 1.986 MB / 0.6334 GB, free: 9.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.413, allocations: 55.84 kB / 0.6335 GB, free: 9.062 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/0.4159, allocations: 1.946 MB / 0.6354 GB, free: 7.113 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.4159, allocations: 33.7 kB / 0.6354 GB, free: 7.074 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.4174, allocations: 1.907 MB / 0.6373 GB, free: 5.145 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.4177, allocations: 329.5 kB / 0.6376 GB, free: 4.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008587/0.4186, allocations: 0.6195 MB / 0.6382 GB, free: 4.191 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4188, allocations: 361.9 kB / 0.6385 GB, free: 3.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4202, allocations: 0.8881 MB / 0.6394 GB, free: 2.941 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.4232, allocations: 2.751 MB / 0.6421 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/0.4281, allocations: 3.962 MB / 0.646 GB, free: 10.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.653e-05/0.4282, allocations: 20 kB / 0.646 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006149/0.4343, allocations: 3.531 MB / 0.6494 GB, free: 6.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.4344, allocations: 40.06 kB / 0.6495 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.44e-05/0.4345, allocations: 67.98 kB / 0.6495 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.735e-05/0.4346, allocations: 88 kB / 0.6496 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.4365, allocations: 0.655 MB / 0.6503 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001288/0.4367, allocations: 131.5 kB / 0.6504 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.4385, allocations: 428.8 kB / 0.6508 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.4388, allocations: 180 kB / 0.651 GB, free: 5.238 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.002028/0.4408, allocations: 1.35 MB / 0.6523 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.4411, allocations: 162.9 kB / 0.6524 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.4414, allocations: 200.9 kB / 0.6526 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.4415, allocations: 11.98 kB / 0.6526 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4415, allocations: 0 / 0.6526 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4415, allocations: 11.92 kB / 0.6527 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006632/0.4481, allocations: 3.948 MB / 0.6565 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.4481, allocations: 11.94 kB / 0.6565 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.4485, allocations: 95.81 kB / 0.6566 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.4486, allocations: 11.94 kB / 0.6566 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.4486, allocations: 20 kB / 0.6566 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/0.4486, allocations: 15.92 kB / 0.6567 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.4486, allocations: 11.94 kB / 0.6567 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4502, allocations: 1.243 MB / 0.6579 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.4505, allocations: 174.6 kB / 0.6581 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.4507, allocations: 27.92 kB / 0.6581 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.4512, allocations: 19.98 kB / 0.6581 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4513, allocations: 55.8 kB / 0.6582 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.4514, allocations: 28 kB / 0.6582 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001833/0.4532, allocations: 1.267 MB / 0.6594 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4532, allocations: 0 / 0.6594 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002465/0.4557, allocations: 0.6968 MB / 0.6601 GB, free: 11.66 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.002083/0.4577, allocations: 1.849 MB / 0.6619 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003197/0.4609, allocations: 1.963 MB / 0.6638 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.4609, allocations: 0 / 0.6638 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.4615, allocations: 432.2 kB / 0.6642 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4628, allocations: 248.3 kB / 0.6645 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/0.491, allocations: 20.88 MB / 0.6849 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.4933, allocations: 1.7 MB / 0.6865 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002182/0.4955, allocations: 0.9519 MB / 0.6874 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.4969, allocations: 1.038 MB / 0.6885 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.393e-06/0.4969, allocations: 0 / 0.6885 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/0.5622, allocations: 33.98 MB / 0.7216 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.33, allocations: 15.19 kB / 0.7217 GB, free: 10.29 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.948618356022052]