Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001506/0.001506, 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.001667/0.001667, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 7.824 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.2315/0.2315, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 75.83 kB / 0.4969 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.339, allocations: 66.1 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01124/0.3502, allocations: 8.334 MB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006436/0.3567, allocations: 2.784 MB / 0.5723 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.3582, allocations: 55.81 kB / 0.5723 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.3625, allocations: 1.935 MB / 0.5742 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.3661, allocations: 1.137 MB / 0.5753 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.3669, allocations: 291.4 kB / 0.5756 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003562/0.3705, allocations: 2.325 MB / 0.5779 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.3729, allocations: 1.746 MB / 0.5796 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.3744, allocations: 0.8879 MB / 0.5805 GB, free: 452 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.3763, allocations: 1.254 MB / 0.5817 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005056/0.3768, allocations: 196 kB / 0.5819 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.3781, allocations: 0.6124 MB / 0.5825 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.3795, allocations: 1.141 MB / 0.5836 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.3809, allocations: 0.951 MB / 0.5845 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.3863, allocations: 4.338 MB / 0.5888 GB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3863, allocations: 0 / 0.5888 GB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3863, allocations: 0 / 0.5888 GB, free: 7.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.3864, allocations: 0 / 0.5888 GB, free: 7.922 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.005801/0.3922, allocations: 2.862 MB / 0.5916 GB, free: 5.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3922, allocations: 12.03 kB / 0.5916 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.372e-05/0.3923, allocations: 67.94 kB / 0.5916 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009213/0.3933, allocations: 487.1 kB / 0.5921 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/0.3984, allocations: 1.571 MB / 0.5936 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.4013, allocations: 1.29 MB / 0.5949 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.4014, allocations: 147.6 kB / 0.595 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005687/0.402, allocations: 183.9 kB / 0.5952 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.4128, allocations: 6.25 MB / 0.6013 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.4128, allocations: 11.88 kB / 0.6013 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.4131, allocations: 87.91 kB / 0.6014 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/0.4152, allocations: 1.348 MB / 0.6027 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009735/0.4249, allocations: 5.34 MB / 0.6079 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.4521, allocations: 19.05 MB / 0.6265 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.4562, allocations: 1.485 MB / 0.628 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4572, allocations: 0.6328 MB / 0.6286 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006468/0.4637, allocations: 3.031 MB / 0.6316 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.4637, allocations: 35 kB / 0.6316 GB, free: 11.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.4637, allocations: 0 / 0.6316 GB, free: 11.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005745/0.4694, allocations: 1.994 MB / 0.6335 GB, free: 9.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4695, allocations: 55.84 kB / 0.6336 GB, free: 8.961 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.4723, allocations: 1.938 MB / 0.6355 GB, free: 7.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.4724, allocations: 37.7 kB / 0.6355 GB, free: 6.977 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.474, allocations: 1.903 MB / 0.6374 GB, free: 5.051 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.4744, allocations: 333.5 kB / 0.6377 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/0.4752, allocations: 0.6234 MB / 0.6383 GB, free: 4.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4754, allocations: 357.9 kB / 0.6387 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.4768, allocations: 0.888 MB / 0.6395 GB, free: 2.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/0.4797, allocations: 2.747 MB / 0.6422 GB, free: 15.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00486/0.4846, allocations: 3.962 MB / 0.6461 GB, free: 10.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.228e-05/0.4846, allocations: 20 kB / 0.6461 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006295/0.4909, allocations: 3.538 MB / 0.6495 GB, free: 6.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.491, allocations: 36 kB / 0.6496 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.4911, allocations: 64 kB / 0.6496 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.4912, allocations: 91.94 kB / 0.6497 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.4932, allocations: 0.6511 MB / 0.6504 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001281/0.4934, allocations: 135.4 kB / 0.6505 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.4955, allocations: 432.9 kB / 0.6509 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/0.4959, allocations: 188 kB / 0.6511 GB, free: 5.133 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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.00227/0.4982, allocations: 1.351 MB / 0.6524 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.4984, allocations: 166.9 kB / 0.6526 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.4988, allocations: 188.9 kB / 0.6527 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/0.4989, allocations: 15.94 kB / 0.6528 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4989, allocations: 0 / 0.6528 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.4989, allocations: 3.984 kB / 0.6528 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007067/0.5059, allocations: 3.919 MB / 0.6566 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.506, allocations: 8 kB / 0.6566 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.5064, allocations: 95.83 kB / 0.6567 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.5064, allocations: 8 kB / 0.6567 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.5064, allocations: 23.98 kB / 0.6567 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.5065, allocations: 8 kB / 0.6567 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.5065, allocations: 11.94 kB / 0.6567 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.5081, allocations: 1.275 MB / 0.658 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.5086, allocations: 178.6 kB / 0.6582 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.5088, allocations: 23.98 kB / 0.6582 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.5093, allocations: 23.94 kB / 0.6582 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.5094, allocations: 59.8 kB / 0.6583 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.5095, allocations: 28 kB / 0.6583 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002138/0.5116, allocations: 1.271 MB / 0.6595 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5116, allocations: 0 / 0.6595 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002788/0.5144, allocations: 0.6891 MB / 0.6602 GB, free: 11.55 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002337/0.5167, allocations: 1.872 MB / 0.662 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.5203, allocations: 1.96 MB / 0.6639 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.5203, allocations: 192 / 0.6639 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.521, allocations: 439.9 kB / 0.6644 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5225, allocations: 241.8 kB / 0.6646 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0316/0.5541, allocations: 20.94 MB / 0.685 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/0.5567, allocations: 1.708 MB / 0.6867 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002249/0.559, allocations: 0.9558 MB / 0.6876 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/0.5606, allocations: 1.042 MB / 0.6887 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of SimCode: time 2.003e-06/0.5606, allocations: 3.938 kB / 0.6887 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07629/0.6369, allocations: 34.04 MB / 0.7219 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.57, allocations: 0 / 0.7219 GB, free: 10.02 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 20.31125075207092]