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.001317/0.001317, allocations: 108 kB / 16.41 MB, free: 6.484 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.001284/0.001284, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.485/1.485, 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.2284/0.2284, allocations: 43.54 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.002206/0.002206, allocations: 71.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1276, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02067/0.1483, allocations: 17.99 MB / 0.505 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1617, allocations: 5.424 MB / 0.5103 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0054/0.1671, allocations: 131.6 kB / 0.5104 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.1794, allocations: 6.11 MB / 0.5164 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008359/0.1878, allocations: 3.178 MB / 0.5195 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.1916, allocations: 1.579 MB / 0.521 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.2053, allocations: 8.392 MB / 0.5292 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2556/0.4609, allocations: 7.718 MB / 0.5367 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/0.4674, allocations: 3.284 MB / 0.54 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008078/0.4755, allocations: 4.317 MB / 0.5442 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003295/0.4788, allocations: 0.6683 MB / 0.5448 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.4849, allocations: 1.478 MB / 0.5463 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007231/0.4922, allocations: 3.966 MB / 0.5501 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0114/0.5036, allocations: 4.472 MB / 0.5545 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.5237, allocations: 13.73 MB / 0.5679 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.5237, allocations: 0 / 0.5679 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5237, allocations: 0 / 0.5679 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005416/0.5243, allocations: 0 / 0.5679 GB, free: 12.62 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.02546/0.5497, allocations: 9.862 MB / 0.5775 GB, free: 6.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5498, allocations: 17.08 kB / 0.5776 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004286/0.5541, allocations: 1.372 MB / 0.5789 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.5676, allocations: 2.812 MB / 0.5816 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.5822, allocations: 6.774 MB / 0.5883 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005153/0.5828, allocations: 491.6 kB / 0.5887 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.5852, allocations: 0.6053 MB / 0.5893 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03838/0.6236, allocations: 19.5 MB / 0.6084 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/0.6239, allocations: 84.73 kB / 0.6084 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001374/0.6253, allocations: 291.6 kB / 0.6087 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006308/0.6316, allocations: 3.643 MB / 0.6123 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03665/0.6683, allocations: 15.17 MB / 0.6271 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/0.7747, allocations: 72.88 MB / 0.6983 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/0.7926, allocations: 6.109 MB / 0.7042 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004755/0.7974, allocations: 2.544 MB / 0.7067 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0258/0.8232, allocations: 11.2 MB / 0.7177 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.8234, allocations: 56.56 kB / 0.7177 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 1.101e-05/0.8235, allocations: 0 / 0.7177 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.05061/0.8741, allocations: 16.94 MB / 0.7343 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.8742, allocations: 161.5 kB / 0.7344 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/0.8897, allocations: 6.835 MB / 0.7411 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005865/0.8904, allocations: 72.2 kB / 0.7412 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00599/0.8964, allocations: 5.969 MB / 0.747 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/0.8981, allocations: 1.097 MB / 0.7481 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005593/0.9037, allocations: 1.89 MB / 0.7499 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9039, allocations: 305.1 kB / 0.7502 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006136/0.91, allocations: 2.739 MB / 0.7529 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2651/1.175, allocations: 8.623 MB / 0.7613 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.189, allocations: 12.37 MB / 0.7734 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003227/1.189, allocations: 58.5 kB / 0.7734 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02346/1.212, allocations: 11.06 MB / 0.7842 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/1.213, allocations: 94.88 kB / 0.7843 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003488/1.213, allocations: 211.8 kB / 0.7845 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/1.214, allocations: 274.8 kB / 0.7848 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/1.222, allocations: 2.19 MB / 0.7869 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005432/1.222, allocations: 407 kB / 0.7873 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008719/1.231, allocations: 471 kB / 0.7878 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.233, allocations: 0.5704 MB / 0.7883 GB, free: 177.3 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.008461/1.242, allocations: 3.762 MB / 0.792 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.243, allocations: 0.6237 MB / 0.7926 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.248, allocations: 2.989 MB / 0.7955 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/1.248, allocations: 25.94 kB / 0.7955 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.248, allocations: 7.656 kB / 0.7956 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/1.248, allocations: 14.83 kB / 0.7956 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02918/1.277, allocations: 25.16 MB / 0.8201 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.833e-05/1.277, allocations: 64 kB / 0.8202 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/1.279, allocations: 0.6141 MB / 0.8208 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.934e-05/1.279, allocations: 84 kB / 0.8209 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/1.279, allocations: 139.6 kB / 0.821 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.939e-05/1.279, allocations: 123.4 kB / 0.8211 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-05/1.279, allocations: 99.56 kB / 0.8212 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/1.284, allocations: 5.916 MB / 0.827 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.285, allocations: 0.7476 MB / 0.8277 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006123/1.286, allocations: 147.6 kB / 0.8279 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.288, allocations: 157 kB / 0.828 GB, free: 153 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/1.289, allocations: 417.4 kB / 0.8284 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.289, allocations: 178.6 kB / 0.8286 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005728/1.294, allocations: 4.262 MB / 0.8328 GB, free: 149 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.294, allocations: 3.828 kB / 0.8328 GB, free: 149 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008754/1.303, allocations: 1.561 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.005666/1.309, allocations: 6.683 MB / 0.8408 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.319, allocations: 6.554 MB / 0.8472 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.712e-05/1.319, allocations: 8.188 kB / 0.8472 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.321, allocations: 1.647 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.006464/1.328, allocations: 0.9995 MB / 0.8498 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/1.429, allocations: 77.14 MB / 0.9251 GB, free: 43.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009182/1.439, allocations: 5.789 MB / 0.9308 GB, free: 37.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006633/1.445, allocations: 2.892 MB / 0.9336 GB, free: 34.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004617/1.45, allocations: 3.811 MB / 0.9373 GB, free: 30.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.45, allocations: 0 / 0.9373 GB, free: 30.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.395/1.845, allocations: 105.5 MB / 1.04 GB, free: 176.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.61/43.46, allocations: 0 / 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 & 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