Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",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.001893/0.001893, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.002091/0.002091, allocations: 185.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2204/0.2204, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 64.28 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02103/0.1298, allocations: 18 MB / 0.505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.1421, allocations: 5.428 MB / 0.5103 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.1456, allocations: 127.7 kB / 0.5104 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.1583, allocations: 6.11 MB / 0.5164 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009117/0.1675, allocations: 3.178 MB / 0.5195 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.1717, allocations: 1.575 MB / 0.521 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01309/0.1848, allocations: 8.384 MB / 0.5292 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2121/0.3969, allocations: 7.714 MB / 0.5367 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005484/0.4024, allocations: 3.291 MB / 0.54 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006885/0.4093, allocations: 4.315 MB / 0.5442 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002775/0.4121, allocations: 0.6687 MB / 0.5448 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.4169, allocations: 1.475 MB / 0.5463 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005698/0.4227, allocations: 3.971 MB / 0.5501 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007443/0.4301, allocations: 4.471 MB / 0.5545 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.4464, allocations: 13.72 MB / 0.5679 GB, free: 12.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4465, allocations: 4 kB / 0.5679 GB, free: 12.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4465, allocations: 0 / 0.5679 GB, free: 12.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004929/0.447, allocations: 0 / 0.5679 GB, free: 12.64 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.0229/0.4699, allocations: 9.866 MB / 0.5775 GB, free: 6.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.47, allocations: 17.2 kB / 0.5776 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003725/0.4737, allocations: 1.378 MB / 0.5789 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.4863, allocations: 2.812 MB / 0.5816 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.5004, allocations: 6.769 MB / 0.5883 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004617/0.5008, allocations: 490.6 kB / 0.5887 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00212/0.503, allocations: 0.6063 MB / 0.5893 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03795/0.5409, allocations: 19.49 MB / 0.6084 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002661/0.5413, allocations: 87.8 kB / 0.6084 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/0.5428, allocations: 299.7 kB / 0.6087 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00605/0.5489, allocations: 3.646 MB / 0.6123 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03357/0.5825, allocations: 15.16 MB / 0.6271 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/0.6876, allocations: 72.89 MB / 0.6983 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01787/0.7055, allocations: 6.109 MB / 0.7042 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/0.7102, allocations: 2.54 MB / 0.7067 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02219/0.7324, allocations: 11.2 MB / 0.7176 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.7325, allocations: 59.38 kB / 0.7177 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 4.97e-06/0.7325, allocations: 0 / 0.7177 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.04753/0.78, allocations: 16.94 MB / 0.7342 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.7802, allocations: 163.5 kB / 0.7344 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/0.7921, allocations: 6.843 MB / 0.7411 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005058/0.7926, allocations: 66.45 kB / 0.7411 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005202/0.7978, allocations: 5.973 MB / 0.747 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/0.7994, allocations: 1.101 MB / 0.7481 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003339/0.8027, allocations: 1.887 MB / 0.7499 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8029, allocations: 305.1 kB / 0.7502 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005332/0.8082, allocations: 2.736 MB / 0.7529 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2191/1.027, allocations: 8.623 MB / 0.7613 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.04, allocations: 12.38 MB / 0.7734 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003109/1.04, allocations: 58.72 kB / 0.7734 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02168/1.062, allocations: 11.06 MB / 0.7842 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/1.062, allocations: 95.91 kB / 0.7843 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003631/1.062, allocations: 211.8 kB / 0.7845 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/1.063, allocations: 280.9 kB / 0.7848 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007436/1.07, allocations: 2.185 MB / 0.7869 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/1.071, allocations: 409.1 kB / 0.7873 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007635/1.079, allocations: 471.7 kB / 0.7878 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/1.08, allocations: 0.5707 MB / 0.7883 GB, free: 177.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1168 * Array equations: 11 * 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.007275/1.087, allocations: 3.761 MB / 0.792 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.089, allocations: 0.6225 MB / 0.7926 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/1.094, allocations: 2.989 MB / 0.7955 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/1.094, allocations: 29.41 kB / 0.7955 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.094, allocations: 4 kB / 0.7956 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/1.094, allocations: 16.22 kB / 0.7956 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03021/1.125, allocations: 25.16 MB / 0.8201 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.211e-05/1.125, allocations: 64.19 kB / 0.8202 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.127, allocations: 0.6164 MB / 0.8208 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.449e-05/1.127, allocations: 84 kB / 0.8209 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002396/1.127, allocations: 140.7 kB / 0.821 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/1.127, allocations: 123.3 kB / 0.8211 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-05/1.127, allocations: 99.56 kB / 0.8212 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/1.132, allocations: 5.917 MB / 0.827 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.134, allocations: 0.746 MB / 0.8277 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009829/1.135, allocations: 151.9 kB / 0.8279 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/1.138, allocations: 146.8 kB / 0.828 GB, free: 153 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/1.138, allocations: 425.7 kB / 0.8284 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/1.138, allocations: 173.2 kB / 0.8286 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006003/1.144, allocations: 4.265 MB / 0.8328 GB, free: 149 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.144, allocations: 0 / 0.8328 GB, free: 149 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008479/1.153, allocations: 1.553 MB / 0.8343 GB, free: 147.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.005795/1.159, allocations: 6.692 MB / 0.8408 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009413/1.168, allocations: 6.55 MB / 0.8472 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.884e-05/1.168, allocations: 8.188 kB / 0.8472 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002179/1.17, allocations: 1.657 MB / 0.8488 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006833/1.177, allocations: 0.9886 MB / 0.8498 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09674/1.274, allocations: 77.14 MB / 0.9251 GB, free: 43.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009022/1.283, allocations: 5.79 MB / 0.9308 GB, free: 37.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006966/1.29, allocations: 2.891 MB / 0.9336 GB, free: 34.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004868/1.295, allocations: 3.815 MB / 0.9373 GB, free: 30.68 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/1.295, allocations: 2.297 kB / 0.9373 GB, free: 30.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3675/1.662, allocations: 105.5 MB / 1.04 GB, free: 176.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.27/42.93, allocations: 3.938 kB / 1.04 GB, free: 176.2 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches