Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002166/0.002166, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.801 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.2274/0.2274, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01168/0.3065, allocations: 8.422 MB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006674/0.3132, allocations: 2.776 MB / 0.5715 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.3146, allocations: 55.81 kB / 0.5716 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.3188, allocations: 1.928 MB / 0.5734 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.3222, allocations: 1.144 MB / 0.5746 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3232, allocations: 291.4 kB / 0.5748 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004304/0.3275, allocations: 2.325 MB / 0.5771 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.3305, allocations: 1.734 MB / 0.5788 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.3323, allocations: 0.8879 MB / 0.5797 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3344, allocations: 1.172 MB / 0.5808 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.335, allocations: 192 kB / 0.581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.3364, allocations: 0.6124 MB / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.3378, allocations: 1.133 MB / 0.5827 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.3392, allocations: 0.9471 MB / 0.5836 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005341/0.3445, allocations: 4.342 MB / 0.5879 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3445, allocations: 4 kB / 0.5879 GB, free: 8.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3445, allocations: 0 / 0.5879 GB, free: 8.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.3447, allocations: 0 / 0.5879 GB, free: 8.141 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.006016/0.3507, allocations: 2.87 MB / 0.5907 GB, free: 5.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3507, allocations: 8.031 kB / 0.5907 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000889/0.3516, allocations: 479.1 kB / 0.5911 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/0.3572, allocations: 1.582 MB / 0.5927 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.3608, allocations: 1.286 MB / 0.5939 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.361, allocations: 147.8 kB / 0.5941 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/0.3615, allocations: 191.9 kB / 0.5943 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.3719, allocations: 6.246 MB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.372, allocations: 11.88 kB / 0.6004 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.3722, allocations: 87.91 kB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.3745, allocations: 1.344 MB / 0.6018 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.3845, allocations: 5.322 MB / 0.607 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02865/0.4132, allocations: 19.06 MB / 0.6256 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004209/0.4174, allocations: 1.483 MB / 0.627 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.4185, allocations: 0.6466 MB / 0.6277 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006998/0.4255, allocations: 3.016 MB / 0.6306 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4255, allocations: 39 kB / 0.6306 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.4255, allocations: 0 / 0.6306 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005925/0.4314, allocations: 1.994 MB / 0.6326 GB, free: 9.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.4315, allocations: 59.84 kB / 0.6326 GB, free: 9.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.4347, allocations: 2.046 MB / 0.6346 GB, free: 7.211 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.4349, allocations: 37.7 kB / 0.6347 GB, free: 7.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.4365, allocations: 1.915 MB / 0.6366 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.4369, allocations: 329.5 kB / 0.6369 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008991/0.4378, allocations: 0.6156 MB / 0.6375 GB, free: 4.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.438, allocations: 353.9 kB / 0.6378 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4394, allocations: 0.892 MB / 0.6387 GB, free: 3.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003223/0.4427, allocations: 2.747 MB / 0.6414 GB, free: 15.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/0.4479, allocations: 3.973 MB / 0.6452 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.517e-05/0.448, allocations: 20 kB / 0.6453 GB, free: 10.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007121/0.4551, allocations: 3.543 MB / 0.6487 GB, free: 6.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.4552, allocations: 32 kB / 0.6487 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.797e-05/0.4553, allocations: 64 kB / 0.6488 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.4554, allocations: 95.92 kB / 0.6489 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.4575, allocations: 0.655 MB / 0.6495 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00013/0.4576, allocations: 131.5 kB / 0.6497 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.4597, allocations: 429.2 kB / 0.6501 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.46, allocations: 184 kB / 0.6503 GB, free: 5.316 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.002274/0.4623, allocations: 1.342 MB / 0.6516 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.4626, allocations: 162.9 kB / 0.6517 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.4629, allocations: 196.9 kB / 0.6519 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.463, allocations: 15.92 kB / 0.6519 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.463, allocations: 0 / 0.6519 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.463, allocations: 7.984 kB / 0.6519 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/0.4708, allocations: 3.911 MB / 0.6557 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.4708, allocations: 8 kB / 0.6558 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.4712, allocations: 103.8 kB / 0.6559 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.4713, allocations: 8 kB / 0.6559 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.4713, allocations: 16 kB / 0.6559 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/0.4713, allocations: 12 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-06/0.4713, allocations: 7.938 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.4731, allocations: 1.275 MB / 0.6571 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.4735, allocations: 186.5 kB / 0.6573 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4737, allocations: 20 kB / 0.6573 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.4742, allocations: 27.98 kB / 0.6574 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4743, allocations: 51.8 kB / 0.6574 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.4744, allocations: 28 kB / 0.6574 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002072/0.4765, allocations: 1.275 MB / 0.6587 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4765, allocations: 4 kB / 0.6587 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002665/0.4791, allocations: 0.689 MB / 0.6594 GB, free: 11.73 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.002387/0.4815, allocations: 1.876 MB / 0.6612 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.4849, allocations: 1.956 MB / 0.6631 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.4849, allocations: 0 / 0.6631 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/0.4856, allocations: 429.5 kB / 0.6635 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.487, allocations: 248.9 kB / 0.6638 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/0.52, allocations: 20.94 MB / 0.6842 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.5225, allocations: 1.701 MB / 0.6859 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002232/0.5247, allocations: 0.9636 MB / 0.6868 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.5263, allocations: 1.046 MB / 0.6878 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.5263, allocations: 0 / 0.6878 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07271/0.599, allocations: 32.91 MB / 0.72 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.39, allocations: 14.52 kB / 0.72 GB, free: 11.38 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 16.8583290502429]