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.001385/0.001385, allocations: 114 kB / 20.43 MB, free: 1.457 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.001611/0.001611, allocations: 214 kB / 23.74 MB, free: 4.672 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 8 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.2288/0.2288, allocations: 46.93 MB / 360.8 MB, free: 4.172 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 79.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3081, allocations: 66.07 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01221/0.3203, allocations: 9.6 MB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.3264, allocations: 2.952 MB / 0.573 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.3275, allocations: 55.81 kB / 0.573 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.3314, allocations: 2.037 MB / 0.575 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.3342, allocations: 1.129 MB / 0.5761 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.335, allocations: 291.4 kB / 0.5764 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.3385, allocations: 2.329 MB / 0.5787 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.3408, allocations: 1.742 MB / 0.5804 GB, free: 60 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.3421, allocations: 0.8917 MB / 0.5812 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.3439, allocations: 1.254 MB / 0.5825 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.3442, allocations: 196 kB / 0.5827 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.3454, allocations: 0.7216 MB / 0.5834 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.3466, allocations: 1.141 MB / 0.5845 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.348, allocations: 1.312 MB / 0.5858 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.3529, allocations: 4.334 MB / 0.59 GB, free: 6.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3529, allocations: 4 kB / 0.59 GB, free: 6.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3529, allocations: 0 / 0.59 GB, free: 6.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.27e-05/0.353, allocations: 0 / 0.59 GB, free: 6.172 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.005005/0.358, allocations: 2.859 MB / 0.5928 GB, free: 3.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.358, allocations: 8.031 kB / 0.5928 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006392/0.3587, allocations: 487.1 kB / 0.5933 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.3638, allocations: 1.578 MB / 0.5948 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.3669, allocations: 1.282 MB / 0.5961 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.367, allocations: 147.7 kB / 0.5962 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.3674, allocations: 183.9 kB / 0.5964 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.3776, allocations: 6.246 MB / 0.6025 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.3777, allocations: 11.88 kB / 0.6025 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.3779, allocations: 87.91 kB / 0.6026 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/0.3802, allocations: 1.34 MB / 0.6039 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.391, allocations: 5.338 MB / 0.6091 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/0.4211, allocations: 19.96 MB / 0.6286 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/0.4254, allocations: 1.556 MB / 0.6301 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.4265, allocations: 0.6351 MB / 0.6307 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006389/0.4329, allocations: 3.031 MB / 0.6337 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.4329, allocations: 39 kB / 0.6337 GB, free: 8.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.966e-06/0.4329, allocations: 0 / 0.6337 GB, free: 8.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005577/0.4385, allocations: 1.982 MB / 0.6356 GB, free: 6.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.4386, allocations: 55.84 kB / 0.6357 GB, free: 6.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.442, allocations: 1.942 MB / 0.6376 GB, free: 4.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.442, allocations: 37.7 kB / 0.6376 GB, free: 4.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.4437, allocations: 1.911 MB / 0.6395 GB, free: 2.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.4441, allocations: 333.4 kB / 0.6398 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.4452, allocations: 0.6195 MB / 0.6404 GB, free: 1.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4454, allocations: 365.9 kB / 0.6408 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.4469, allocations: 0.8842 MB / 0.6416 GB, free: 204 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003124/0.45, allocations: 2.748 MB / 0.6443 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005766/0.4558, allocations: 3.966 MB / 0.6482 GB, free: 7.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.4559, allocations: 20 kB / 0.6482 GB, free: 7.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007485/0.4634, allocations: 3.529 MB / 0.6517 GB, free: 4.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.4634, allocations: 32.94 kB / 0.6517 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.4636, allocations: 68 kB / 0.6518 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.4637, allocations: 88 kB / 0.6518 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.466, allocations: 0.6628 MB / 0.6525 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001386/0.4662, allocations: 127.5 kB / 0.6526 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.4684, allocations: 432.7 kB / 0.653 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/0.4689, allocations: 191.9 kB / 0.6532 GB, free: 2.488 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.002447/0.4713, allocations: 1.35 MB / 0.6545 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.4716, allocations: 162.9 kB / 0.6547 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.4721, allocations: 192.9 kB / 0.6549 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.4721, allocations: 12 kB / 0.6549 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.4721, allocations: 4 kB / 0.6549 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.4721, allocations: 0 / 0.6549 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/0.4801, allocations: 4.053 MB / 0.6588 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.4801, allocations: 8 kB / 0.6588 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.4805, allocations: 87.89 kB / 0.6589 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.4806, allocations: 11.94 kB / 0.6589 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.4806, allocations: 27.92 kB / 0.659 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.4806, allocations: 8 kB / 0.659 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.4806, allocations: 7.938 kB / 0.659 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.4823, allocations: 1.239 MB / 0.6602 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.4828, allocations: 182.6 kB / 0.6604 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.483, allocations: 19.94 kB / 0.6604 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.4836, allocations: 31.95 kB / 0.6604 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4837, allocations: 55.75 kB / 0.6605 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.4837, allocations: 28 kB / 0.6605 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002119/0.4859, allocations: 1.271 MB / 0.6617 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4859, allocations: 0 / 0.6617 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002592/0.4884, allocations: 0.6929 MB / 0.6624 GB, free: 8.824 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.002273/0.4907, allocations: 1.849 MB / 0.6642 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.494, allocations: 1.96 MB / 0.6661 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.494, allocations: 4 kB / 0.6661 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.4946, allocations: 437 kB / 0.6665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.496, allocations: 233.8 kB / 0.6668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/0.5292, allocations: 20.89 MB / 0.6872 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/0.5319, allocations: 2.275 MB / 0.6894 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002289/0.5342, allocations: 0.9519 MB / 0.6903 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.5357, allocations: 1.034 MB / 0.6913 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of SimCode: time 1.513e-06/0.5357, allocations: 4 kB / 0.6913 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07815/0.6139, allocations: 35.21 MB / 0.7257 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.43, allocations: 5.016 kB / 0.7257 GB, free: 5.484 MB / 0.5606 GB " [Timeout remaining time 644] (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.84089627698995]