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.001109/0.001109, allocations: 106.4 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.00113/0.00113, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.306/1.306, 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.1948/0.1948, allocations: 43.52 MB / 314.1 MB, free: 460 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.001477/0.001477, allocations: 65.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09149, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01857/0.1101, allocations: 18.01 MB / 0.505 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1216, allocations: 5.42 MB / 0.5103 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.1242, allocations: 131.6 kB / 0.5104 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.1355, allocations: 6.106 MB / 0.5164 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007635/0.1432, allocations: 3.171 MB / 0.5195 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.1467, allocations: 1.591 MB / 0.521 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.1583, allocations: 8.376 MB / 0.5292 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2077/0.366, allocations: 7.723 MB / 0.5367 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005261/0.3713, allocations: 3.254 MB / 0.5399 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007148/0.3785, allocations: 4.333 MB / 0.5441 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002686/0.3812, allocations: 0.6648 MB / 0.5448 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.3856, allocations: 1.481 MB / 0.5462 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005818/0.3915, allocations: 4.04 MB / 0.5502 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007074/0.3986, allocations: 4.475 MB / 0.5546 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4126, allocations: 13.67 MB / 0.5679 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4126, allocations: 0 / 0.5679 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4126, allocations: 0 / 0.5679 GB, free: 12.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004572/0.4131, allocations: 0 / 0.5679 GB, free: 12.72 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.02189/0.435, allocations: 9.605 MB / 0.5773 GB, free: 6.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.435, allocations: 18.8 kB / 0.5773 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003191/0.4382, allocations: 1.37 MB / 0.5786 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.4504, allocations: 2.754 MB / 0.5813 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.4634, allocations: 6.752 MB / 0.5879 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004044/0.4638, allocations: 488.3 kB / 0.5884 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/0.4658, allocations: 0.6124 MB / 0.589 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/0.5007, allocations: 19.49 MB / 0.608 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/0.5009, allocations: 79.06 kB / 0.6081 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/0.5021, allocations: 290.2 kB / 0.6084 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005493/0.5077, allocations: 3.647 MB / 0.6119 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/0.5398, allocations: 15.16 MB / 0.6268 GB, free: 5.984 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09989/0.6397, allocations: 72.75 MB / 0.6978 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/0.6569, allocations: 6.11 MB / 0.7038 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/0.6612, allocations: 2.548 MB / 0.7062 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02246/0.6837, allocations: 11.16 MB / 0.7171 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.6838, allocations: 60.56 kB / 0.7172 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 5.34e-06/0.6838, allocations: 0 / 0.7172 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.0433/0.7271, allocations: 16.49 MB / 0.7333 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.7272, allocations: 162.5 kB / 0.7335 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/0.7391, allocations: 6.814 MB / 0.7401 GB, free: 500 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004435/0.7396, allocations: 69.61 kB / 0.7402 GB, free: 428 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004317/0.7439, allocations: 5.76 MB / 0.7458 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.7452, allocations: 1.064 MB / 0.7469 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003947/0.7492, allocations: 1.871 MB / 0.7487 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.7493, allocations: 312.4 kB / 0.749 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/0.7542, allocations: 2.732 MB / 0.7516 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2144/0.9685, allocations: 8.622 MB / 0.7601 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/0.981, allocations: 12.38 MB / 0.7722 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000257/0.9813, allocations: 59.81 kB / 0.7722 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02068/1.002, allocations: 11.02 MB / 0.783 GB, free: 178 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/1.002, allocations: 94.91 kB / 0.7831 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003298/1.003, allocations: 213.7 kB / 0.7833 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/1.003, allocations: 275 kB / 0.7835 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007098/1.01, allocations: 2.189 MB / 0.7857 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003978/1.01, allocations: 409.5 kB / 0.7861 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006558/1.017, allocations: 465.3 kB / 0.7865 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.018, allocations: 0.5767 MB / 0.7871 GB, free: 177.4 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.00639/1.025, allocations: 3.765 MB / 0.7907 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009785/1.026, allocations: 0.5865 MB / 0.7913 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/1.03, allocations: 2.994 MB / 0.7942 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/1.03, allocations: 34.14 kB / 0.7943 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.031, allocations: 0 / 0.7943 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.031, allocations: 11.62 kB / 0.7943 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03034/1.061, allocations: 25.15 MB / 0.8188 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-05/1.061, allocations: 71.83 kB / 0.8189 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.063, allocations: 0.605 MB / 0.8195 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.108e-05/1.063, allocations: 80 kB / 0.8196 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/1.063, allocations: 144.4 kB / 0.8197 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-05/1.063, allocations: 127.3 kB / 0.8198 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.553e-05/1.063, allocations: 99.56 kB / 0.8199 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/1.068, allocations: 5.88 MB / 0.8257 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.069, allocations: 0.7138 MB / 0.8264 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/1.07, allocations: 147.2 kB / 0.8265 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/1.072, allocations: 156.1 kB / 0.8267 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/1.073, allocations: 421.6 kB / 0.8271 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/1.073, allocations: 171.7 kB / 0.8272 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005662/1.079, allocations: 4.265 MB / 0.8314 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.6e-07/1.079, allocations: 1.969 kB / 0.8314 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007924/1.087, allocations: 1.551 MB / 0.8329 GB, free: 147.7 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.005362/1.092, allocations: 6.663 MB / 0.8394 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009027/1.101, allocations: 6.544 MB / 0.8458 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.53e-05/1.101, allocations: 8 kB / 0.8458 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.103, allocations: 1.651 MB / 0.8474 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006735/1.11, allocations: 0.9892 MB / 0.8484 GB, free: 132.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08633/1.196, allocations: 76.82 MB / 0.9234 GB, free: 43.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007508/1.204, allocations: 5.791 MB / 0.9291 GB, free: 38.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006379/1.21, allocations: 2.896 MB / 0.9319 GB, free: 35.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004416/1.215, allocations: 3.807 MB / 0.9356 GB, free: 31.33 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/1.215, allocations: 0 / 0.9356 GB, free: 31.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3432/1.558, allocations: 106.9 MB / 1.04 GB, free: 176.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.31/40.87, allocations: 6.75 kB / 1.04 GB, free: 176.5 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