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.001073/0.001073, allocations: 106.4 kB / 16.41 MB, free: 6.441 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.001123/0.001123, allocations: 189.5 kB / 17.34 MB, free: 5.703 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.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.194/0.194, allocations: 43.52 MB / 314.1 MB, free: 444 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.001467/0.001467, allocations: 73.61 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09198, 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.0173/0.1093, allocations: 18.01 MB / 0.505 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1203, allocations: 5.432 MB / 0.5103 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.123, allocations: 127.7 kB / 0.5104 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.1338, allocations: 6.102 MB / 0.5164 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.1416, allocations: 3.276 MB / 0.5196 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.1451, allocations: 1.583 MB / 0.5211 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.1561, allocations: 8.392 MB / 0.5293 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2191/0.3753, allocations: 7.71 MB / 0.5368 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006357/0.3817, allocations: 3.254 MB / 0.54 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0082/0.3899, allocations: 4.333 MB / 0.5442 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003625/0.3936, allocations: 0.6658 MB / 0.5449 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/0.4, allocations: 1.48 MB / 0.5463 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006948/0.407, allocations: 4.04 MB / 0.5503 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009227/0.4162, allocations: 4.476 MB / 0.5547 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.4323, allocations: 13.73 MB / 0.5681 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4323, allocations: 0 / 0.5681 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4323, allocations: 0 / 0.5681 GB, free: 12.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004424/0.4328, allocations: 0 / 0.5681 GB, free: 12.57 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.02116/0.4539, allocations: 9.864 MB / 0.5777 GB, free: 5.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.454, allocations: 14.17 kB / 0.5777 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003285/0.4573, allocations: 1.37 MB / 0.579 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.4702, allocations: 2.812 MB / 0.5818 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/0.4845, allocations: 6.784 MB / 0.5884 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004251/0.485, allocations: 486 kB / 0.5889 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.4872, allocations: 0.608 MB / 0.5895 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03563/0.5229, allocations: 19.49 MB / 0.6085 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003189/0.5232, allocations: 78.22 kB / 0.6086 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001824/0.5251, allocations: 300.3 kB / 0.6089 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005777/0.5309, allocations: 3.642 MB / 0.6124 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03298/0.5639, allocations: 15.17 MB / 0.6272 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/0.6668, allocations: 72.9 MB / 0.6984 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/0.684, allocations: 6.098 MB / 0.7044 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004242/0.6883, allocations: 2.55 MB / 0.7069 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02221/0.7106, allocations: 11.19 MB / 0.7178 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.7106, allocations: 63.38 kB / 0.7179 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 5.08e-06/0.7107, allocations: 0 / 0.7179 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.04558/0.7562, allocations: 16.95 MB / 0.7344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.7564, allocations: 157.5 kB / 0.7346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/0.7675, allocations: 6.835 MB / 0.7412 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005302/0.768, allocations: 65.7 kB / 0.7413 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004565/0.7726, allocations: 5.965 MB / 0.7471 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.7739, allocations: 1.106 MB / 0.7482 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003115/0.777, allocations: 1.891 MB / 0.75 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.7771, allocations: 301.1 kB / 0.7503 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/0.7818, allocations: 2.739 MB / 0.753 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2247/1.007, allocations: 8.622 MB / 0.7614 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/1.019, allocations: 12.37 MB / 0.7735 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003007/1.019, allocations: 59.78 kB / 0.7736 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02142/1.041, allocations: 11.06 MB / 0.7844 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000233/1.041, allocations: 97.06 kB / 0.7845 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003973/1.042, allocations: 209.9 kB / 0.7847 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/1.042, allocations: 276.3 kB / 0.7849 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/1.05, allocations: 2.187 MB / 0.7871 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006216/1.051, allocations: 409.4 kB / 0.7875 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009584/1.06, allocations: 472.3 kB / 0.7879 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002605/1.063, allocations: 0.5753 MB / 0.7885 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.007237/1.07, allocations: 3.761 MB / 0.7921 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.071, allocations: 0.6206 MB / 0.7927 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/1.076, allocations: 2.987 MB / 0.7957 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.076, allocations: 36.78 kB / 0.7957 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.076, allocations: 0 / 0.7957 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/1.076, allocations: 14.88 kB / 0.7957 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/1.107, allocations: 25.17 MB / 0.8203 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001213/1.107, allocations: 71.89 kB / 0.8204 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.109, allocations: 0.6074 MB / 0.821 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/1.109, allocations: 84 kB / 0.821 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.11, allocations: 139.9 kB / 0.8212 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.542e-05/1.11, allocations: 123.1 kB / 0.8213 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.624e-05/1.11, allocations: 99.56 kB / 0.8214 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/1.115, allocations: 5.915 MB / 0.8272 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.117, allocations: 0.7494 MB / 0.8279 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.118, allocations: 150.8 kB / 0.828 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/1.121, allocations: 152.5 kB / 0.8282 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005538/1.122, allocations: 421.8 kB / 0.8286 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.122, allocations: 175.8 kB / 0.8287 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006435/1.129, allocations: 4.262 MB / 0.8329 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.51e-07/1.129, allocations: 0 / 0.8329 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00867/1.137, allocations: 1.552 MB / 0.8344 GB, free: 147.5 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.0058/1.143, allocations: 6.692 MB / 0.841 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009198/1.153, allocations: 6.544 MB / 0.8474 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.76e-05/1.153, allocations: 8.688 kB / 0.8474 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/1.155, allocations: 1.655 MB / 0.849 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.007129/1.162, allocations: 0.9915 MB / 0.8499 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/1.266, allocations: 77.14 MB / 0.9253 GB, free: 43.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0084/1.275, allocations: 5.796 MB / 0.9309 GB, free: 37.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006615/1.281, allocations: 2.9 MB / 0.9338 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00471/1.286, allocations: 3.811 MB / 0.9375 GB, free: 30.69 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/1.286, allocations: 4 kB / 0.9375 GB, free: 30.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3605/1.647, allocations: 105.5 MB / 1.04 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.58/40.23, allocations: 8.781 kB / 1.04 GB, free: 176.1 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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