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.001628/0.001628, 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.002056/0.002056, allocations: 210.9 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.452/1.452, 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.2247/0.2247, allocations: 46.96 MB / 361.6 MB, free: 3.941 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.002278/0.002278, allocations: 75.88 kB / 0.4969 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2896, allocations: 66.08 MB / 0.5614 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01182/0.3014, allocations: 8.346 MB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005982/0.3074, allocations: 2.773 MB / 0.5723 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.3086, allocations: 59.81 kB / 0.5723 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.3128, allocations: 1.943 MB / 0.5742 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.3158, allocations: 1.133 MB / 0.5753 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.3166, allocations: 291.4 kB / 0.5756 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.32, allocations: 2.329 MB / 0.5779 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.3223, allocations: 1.742 MB / 0.5796 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3237, allocations: 0.8879 MB / 0.5805 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3255, allocations: 1.262 MB / 0.5817 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.3259, allocations: 192 kB / 0.5819 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3271, allocations: 0.6124 MB / 0.5825 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3283, allocations: 1.133 MB / 0.5836 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.3295, allocations: 0.9471 MB / 0.5845 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.3347, allocations: 4.342 MB / 0.5888 GB, free: 7.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3347, allocations: 0 / 0.5888 GB, free: 7.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3347, allocations: 0 / 0.5888 GB, free: 7.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.3348, allocations: 0 / 0.5888 GB, free: 7.977 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.005691/0.3405, allocations: 2.87 MB / 0.5916 GB, free: 5.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3405, allocations: 8.031 kB / 0.5916 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.585e-05/0.3406, allocations: 67.94 kB / 0.5916 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007138/0.3413, allocations: 487 kB / 0.5921 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/0.3466, allocations: 1.574 MB / 0.5936 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.3495, allocations: 1.282 MB / 0.5949 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.3496, allocations: 151.5 kB / 0.595 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/0.3501, allocations: 183.9 kB / 0.5952 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.3616, allocations: 6.25 MB / 0.6013 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.3616, allocations: 15.88 kB / 0.6013 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.3619, allocations: 87.91 kB / 0.6014 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/0.3642, allocations: 1.34 MB / 0.6027 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.3749, allocations: 5.334 MB / 0.6079 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.4044, allocations: 19.02 MB / 0.6265 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004509/0.4089, allocations: 1.553 MB / 0.628 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.41, allocations: 0.6328 MB / 0.6286 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.4165, allocations: 2.899 MB / 0.6315 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.4166, allocations: 38.94 kB / 0.6315 GB, free: 11.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.4166, allocations: 3.938 kB / 0.6315 GB, free: 11.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005651/0.4222, allocations: 1.978 MB / 0.6334 GB, free: 9.195 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.4223, allocations: 55.84 kB / 0.6335 GB, free: 9.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.425, allocations: 1.949 MB / 0.6354 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.4251, allocations: 33.7 kB / 0.6354 GB, free: 7.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.4265, allocations: 1.911 MB / 0.6373 GB, free: 5.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.4269, allocations: 325.5 kB / 0.6376 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/0.4277, allocations: 0.6273 MB / 0.6382 GB, free: 4.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4279, allocations: 361.9 kB / 0.6386 GB, free: 3.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.4293, allocations: 0.8842 MB / 0.6394 GB, free: 3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.4323, allocations: 2.751 MB / 0.6421 GB, free: 15.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.437, allocations: 3.958 MB / 0.646 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.901e-05/0.4371, allocations: 24 kB / 0.646 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005924/0.443, allocations: 3.53 MB / 0.6494 GB, free: 6.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.443, allocations: 36 kB / 0.6495 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.24e-05/0.4431, allocations: 64 kB / 0.6495 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.915e-05/0.4432, allocations: 92.03 kB / 0.6496 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.4453, allocations: 0.655 MB / 0.6503 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001281/0.4454, allocations: 131.5 kB / 0.6504 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.4474, allocations: 432.8 kB / 0.6508 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/0.4477, allocations: 180 kB / 0.651 GB, free: 5.301 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.00233/0.4501, allocations: 1.357 MB / 0.6523 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.4504, allocations: 162.9 kB / 0.6525 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.4508, allocations: 196.9 kB / 0.6526 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.4508, allocations: 8 kB / 0.6527 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4508, allocations: 0 / 0.6527 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.4508, allocations: 7.922 kB / 0.6527 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007529/0.4583, allocations: 3.952 MB / 0.6565 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/0.4584, allocations: 16.11 kB / 0.6565 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.4588, allocations: 99.77 kB / 0.6566 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.4588, allocations: 11.94 kB / 0.6566 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.4589, allocations: 19.98 kB / 0.6567 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.4589, allocations: 11.94 kB / 0.6567 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.4589, allocations: 11.94 kB / 0.6567 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.4605, allocations: 1.235 MB / 0.6579 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.4609, allocations: 182.6 kB / 0.6581 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4611, allocations: 23.94 kB / 0.6581 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.4616, allocations: 23.97 kB / 0.6581 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4617, allocations: 51.81 kB / 0.6582 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.4617, allocations: 31.91 kB / 0.6582 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001994/0.4637, allocations: 1.271 MB / 0.6594 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4637, allocations: 0 / 0.6594 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002716/0.4665, allocations: 0.6929 MB / 0.6601 GB, free: 11.71 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.002207/0.4687, allocations: 1.849 MB / 0.6619 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.472, allocations: 1.96 MB / 0.6638 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.472, allocations: 4 kB / 0.6638 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.4727, allocations: 429.1 kB / 0.6642 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.474, allocations: 239.4 kB / 0.6645 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/0.5069, allocations: 20.89 MB / 0.6849 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/0.5094, allocations: 1.7 MB / 0.6865 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002196/0.5116, allocations: 0.9557 MB / 0.6875 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.5131, allocations: 1.038 MB / 0.6885 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.5131, allocations: 0 / 0.6885 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/0.5818, allocations: 33.98 MB / 0.7217 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.28, allocations: 11.44 kB / 0.7217 GB, free: 10.36 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.91520521393977]