Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007774/0.0007775, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1839/0.1839, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09864, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03246/0.1311, allocations: 36.63 MB / 0.4971 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.1453, allocations: 7.537 MB / 0.5044 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004247/0.1496, allocations: 151.7 kB / 0.5046 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006921/0.1503, allocations: 294.6 kB / 0.5048 GB, free: 476 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1878/0.3381, allocations: 1.067 MB / 0.5059 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.3388, allocations: 265.7 kB / 0.5061 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.3425, allocations: 3.399 MB / 0.5095 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004276/0.3468, allocations: 3.352 MB / 0.5127 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.3478, allocations: 0.6453 MB / 0.5134 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.349, allocations: 1.055 MB / 0.5144 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.3493, allocations: 86.84 kB / 0.5145 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3505, allocations: 0.6385 MB / 0.5151 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008728/0.3513, allocations: 1.016 MB / 0.5161 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009531/0.3523, allocations: 1.224 MB / 0.5173 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.3559, allocations: 4.124 MB / 0.5213 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3559, allocations: 0 / 0.5213 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3559, allocations: 0 / 0.5213 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-05/0.356, allocations: 0 / 0.5213 GB, free: 8.152 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.003463/0.3595, allocations: 2.421 MB / 0.5237 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3595, allocations: 9.875 kB / 0.5237 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005414/0.36, allocations: 495.2 kB / 0.5242 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/0.3649, allocations: 1.634 MB / 0.5258 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.3668, allocations: 1.339 MB / 0.5271 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.3669, allocations: 147.9 kB / 0.5272 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.3672, allocations: 199.5 kB / 0.5274 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008041/0.3753, allocations: 6.43 MB / 0.5337 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.3753, allocations: 14.81 kB / 0.5337 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.3756, allocations: 88.06 kB / 0.5338 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001753/0.3773, allocations: 1.413 MB / 0.5352 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007613/0.385, allocations: 5.486 MB / 0.5405 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.4099, allocations: 20.61 MB / 0.5606 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/0.414, allocations: 2.001 MB / 0.5626 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009761/0.4151, allocations: 0.6936 MB / 0.5633 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00612/0.4212, allocations: 3.639 MB / 0.5668 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4213, allocations: 42.98 kB / 0.5669 GB, free: 3.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.488e-06/0.4213, allocations: 4 kB / 0.5669 GB, free: 3.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005141/0.4264, allocations: 1.983 MB / 0.5688 GB, free: 1.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.4265, allocations: 55.84 kB / 0.5689 GB, free: 1.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.4293, allocations: 1.962 MB / 0.5708 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.4294, allocations: 37.7 kB / 0.5708 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4305, allocations: 1.881 MB / 0.5726 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.4308, allocations: 315 kB / 0.5729 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.4311, allocations: 276.2 kB / 0.5732 GB, free: 12.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4313, allocations: 361.9 kB / 0.5736 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4325, allocations: 0.8854 MB / 0.5744 GB, free: 11.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.4349, allocations: 2.78 MB / 0.5771 GB, free: 7.988 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.4388, allocations: 3.998 MB / 0.581 GB, free: 3.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.635e-05/0.4388, allocations: 20 kB / 0.5811 GB, free: 3.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005329/0.4442, allocations: 3.557 MB / 0.5845 GB, free: 160 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.4442, allocations: 32 kB / 0.5846 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.691e-05/0.4443, allocations: 72.84 kB / 0.5846 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-05/0.4444, allocations: 88.05 kB / 0.5847 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.4463, allocations: 0.6626 MB / 0.5854 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.702e-05/0.4464, allocations: 128.3 kB / 0.5855 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4483, allocations: 423.5 kB / 0.5859 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.4485, allocations: 188 kB / 0.5861 GB, free: 14.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.002113/0.4506, allocations: 1.373 MB / 0.5874 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.4509, allocations: 161.8 kB / 0.5876 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.4513, allocations: 201.2 kB / 0.5878 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.4513, allocations: 8 kB / 0.5878 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4513, allocations: 0 / 0.5878 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4513, allocations: 4 kB / 0.5878 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.4583, allocations: 4.098 MB / 0.5918 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.4583, allocations: 4 kB / 0.5918 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.4588, allocations: 108.6 kB / 0.5919 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.4588, allocations: 11.98 kB / 0.5919 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.4588, allocations: 16 kB / 0.5919 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.4588, allocations: 14.61 kB / 0.5919 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4589, allocations: 10.53 kB / 0.5919 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.4603, allocations: 1.263 MB / 0.5932 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.4607, allocations: 266.5 kB / 0.5934 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.461, allocations: 23.98 kB / 0.5934 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.4615, allocations: 23.98 kB / 0.5935 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.4616, allocations: 61.08 kB / 0.5935 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.4617, allocations: 30.8 kB / 0.5935 GB, free: 6.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002094/0.4638, allocations: 1.287 MB / 0.5948 GB, free: 5.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4638, allocations: 0 / 0.5948 GB, free: 5.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002718/0.4665, allocations: 0.6999 MB / 0.5955 GB, free: 4.883 MB / 446.1 MB 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.001815/0.4684, allocations: 1.876 MB / 0.5973 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.4712, allocations: 2.028 MB / 0.5993 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4712, allocations: 4 kB / 0.5993 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.4717, allocations: 466.8 kB / 0.5997 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.4743, allocations: 247.2 kB / 0.6 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/0.5051, allocations: 23.66 MB / 0.6231 GB, free: 5.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/0.5083, allocations: 2.323 MB / 0.6254 GB, free: 3.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002506/0.5109, allocations: 0.96 MB / 0.6263 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/0.5127, allocations: 1.069 MB / 0.6273 GB, free: 1.453 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5127, allocations: 0 / 0.6273 GB, free: 1.453 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.5639, allocations: 31.64 MB / 0.6582 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.5641, allocations: 188.1 kB / 0.6584 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.906, allocations: 0 / 0.6584 GB, free: 1.773 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches