Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.91 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01106/0.3322, allocations: 8.402 MB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.3385, allocations: 2.792 MB / 0.5715 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.3399, allocations: 55.81 kB / 0.5716 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.3441, allocations: 1.939 MB / 0.5735 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.3473, allocations: 1.133 MB / 0.5746 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.3481, allocations: 287.4 kB / 0.5748 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.3517, allocations: 2.329 MB / 0.5771 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.3541, allocations: 1.746 MB / 0.5788 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.3554, allocations: 0.8879 MB / 0.5797 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3573, allocations: 1.262 MB / 0.5809 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.3577, allocations: 192 kB / 0.5811 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3589, allocations: 0.6124 MB / 0.5817 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3601, allocations: 1.137 MB / 0.5828 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.3613, allocations: 0.9432 MB / 0.5837 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.3667, allocations: 4.342 MB / 0.588 GB, free: 8.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3667, allocations: 0 / 0.588 GB, free: 8.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3667, allocations: 4 kB / 0.588 GB, free: 8.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.3668, allocations: 0 / 0.588 GB, free: 8.039 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.005495/0.3723, allocations: 2.87 MB / 0.5908 GB, free: 5.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3723, allocations: 8.031 kB / 0.5908 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006799/0.373, allocations: 483.1 kB / 0.5912 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.3783, allocations: 1.578 MB / 0.5928 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.3815, allocations: 1.279 MB / 0.594 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.3817, allocations: 151.7 kB / 0.5942 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004791/0.3821, allocations: 187.8 kB / 0.5944 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.3927, allocations: 6.25 MB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.854e-05/0.3928, allocations: 11.88 kB / 0.6005 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.393, allocations: 91.84 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/0.3952, allocations: 1.34 MB / 0.6019 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.4064, allocations: 5.326 MB / 0.6071 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.4357, allocations: 19.05 MB / 0.6257 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.4398, allocations: 1.481 MB / 0.6271 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009878/0.4408, allocations: 0.6406 MB / 0.6278 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006898/0.4477, allocations: 3.016 MB / 0.6307 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.4478, allocations: 50.92 kB / 0.6307 GB, free: 11.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/0.4478, allocations: 0 / 0.6307 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005626/0.4534, allocations: 1.99 MB / 0.6327 GB, free: 9.227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.4535, allocations: 55.84 kB / 0.6327 GB, free: 9.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/0.4564, allocations: 2.054 MB / 0.6347 GB, free: 7.102 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.4565, allocations: 33.7 kB / 0.6348 GB, free: 7.062 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.4579, allocations: 1.919 MB / 0.6367 GB, free: 5.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.4582, allocations: 321.5 kB / 0.637 GB, free: 4.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008305/0.459, allocations: 0.6234 MB / 0.6376 GB, free: 4.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4592, allocations: 353.9 kB / 0.6379 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.4605, allocations: 0.8881 MB / 0.6388 GB, free: 2.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/0.4633, allocations: 2.755 MB / 0.6415 GB, free: 15.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/0.4679, allocations: 3.965 MB / 0.6453 GB, free: 10.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.105e-05/0.468, allocations: 24 kB / 0.6454 GB, free: 10.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00594/0.4739, allocations: 3.532 MB / 0.6488 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.474, allocations: 34.66 kB / 0.6488 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.417e-05/0.4741, allocations: 68 kB / 0.6489 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-05/0.4741, allocations: 95.91 kB / 0.649 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.4761, allocations: 0.6589 MB / 0.6496 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001064/0.4762, allocations: 127.5 kB / 0.6498 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.4781, allocations: 428.8 kB / 0.6502 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.4784, allocations: 188 kB / 0.6504 GB, free: 5.211 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.001924/0.4803, allocations: 1.338 MB / 0.6517 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.4805, allocations: 166.9 kB / 0.6518 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.4809, allocations: 196.9 kB / 0.652 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.4809, allocations: 11.94 kB / 0.652 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.4809, allocations: 0 / 0.652 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4809, allocations: 7.984 kB / 0.652 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006567/0.4875, allocations: 3.911 MB / 0.6558 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4875, allocations: 7.938 kB / 0.6559 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.488, allocations: 104 kB / 0.656 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.488, allocations: 11.94 kB / 0.656 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.488, allocations: 23.98 kB / 0.656 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.488, allocations: 8 kB / 0.656 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.488, allocations: 11.94 kB / 0.656 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.4896, allocations: 1.263 MB / 0.6572 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.49, allocations: 190.5 kB / 0.6574 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.4902, allocations: 19.98 kB / 0.6574 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.4907, allocations: 27.98 kB / 0.6575 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4908, allocations: 63.78 kB / 0.6575 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.4909, allocations: 24 kB / 0.6575 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001823/0.4927, allocations: 1.271 MB / 0.6588 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4927, allocations: 0 / 0.6588 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002448/0.4952, allocations: 0.6929 MB / 0.6595 GB, free: 11.62 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.002122/0.4973, allocations: 1.872 MB / 0.6613 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.5005, allocations: 1.956 MB / 0.6632 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.5005, allocations: 4 kB / 0.6632 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.5011, allocations: 433 kB / 0.6636 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5025, allocations: 237.5 kB / 0.6638 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03149/0.534, allocations: 20.94 MB / 0.6843 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.5366, allocations: 1.701 MB / 0.686 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002254/0.5389, allocations: 0.9636 MB / 0.6869 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/0.5408, allocations: 1.038 MB / 0.6879 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/0.5408, allocations: 0 / 0.6879 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/0.6142, allocations: 34.25 MB / 0.7214 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.02, allocations: 6.719 kB / 0.7214 GB, free: 9.945 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 16.339482566982042]