Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_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.001108, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001184/0.001184, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.333/1.333, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 65.83 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1073, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01667/0.1241, allocations: 15.39 MB / 484.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.136, allocations: 5.093 MB / 489.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.139, allocations: 123.6 kB / 490 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.1497, allocations: 6.024 MB / 496 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007367/0.1571, allocations: 2.856 MB / 498.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.1606, allocations: 1.579 MB / 0.4887 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.172, allocations: 7.739 MB / 0.4962 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2322/0.4042, allocations: 7.471 MB / 0.5035 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006057/0.4103, allocations: 3.034 MB / 0.5065 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007571/0.418, allocations: 3.866 MB / 0.5103 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003249/0.4212, allocations: 0.5853 MB / 0.5109 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.4261, allocations: 1.423 MB / 0.5122 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006409/0.4325, allocations: 3.592 MB / 0.5157 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.4434, allocations: 3.997 MB / 0.5197 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01742/0.4608, allocations: 11.74 MB / 0.5311 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.4609, allocations: 0 / 0.5311 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4609, allocations: 0 / 0.5311 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006244/0.4615, allocations: 1.812 kB / 0.5311 GB, free: 9.852 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02361/0.4851, allocations: 8.778 MB / 0.5397 GB, free: 4.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4852, allocations: 12.27 kB / 0.5397 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00378/0.489, allocations: 1.213 MB / 0.5409 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.5014, allocations: 2.626 MB / 0.5435 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.5134, allocations: 5.805 MB / 0.5491 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.5139, allocations: 437.8 kB / 0.5495 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.5161, allocations: 0.5612 MB / 0.5501 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/0.5499, allocations: 17.43 MB / 0.5671 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/0.5502, allocations: 78.22 kB / 0.5672 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.5515, allocations: 267.9 kB / 0.5674 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/0.5564, allocations: 3.169 MB / 0.5705 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03196/0.5884, allocations: 13.41 MB / 0.5836 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09203/0.6805, allocations: 66.14 MB / 0.6482 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.6967, allocations: 5.381 MB / 0.6535 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.7002, allocations: 2.118 MB / 0.6555 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01775/0.7179, allocations: 10 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.718, allocations: 47.06 kB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.219e-06/0.718, allocations: 0 / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04102/0.759, allocations: 14.2 MB / 0.6792 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.7592, allocations: 148.8 kB / 0.6794 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009809/0.769, allocations: 6.408 MB / 0.6856 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004343/0.7695, allocations: 56.05 kB / 0.6857 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004217/0.7737, allocations: 5.264 MB / 0.6908 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.7748, allocations: 0.8223 MB / 0.6916 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002895/0.7777, allocations: 1.68 MB / 0.6933 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7779, allocations: 313 kB / 0.6936 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/0.7825, allocations: 2.312 MB / 0.6958 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.263/1.046, allocations: 7.721 MB / 0.7034 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.058, allocations: 10.94 MB / 0.714 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003124/1.058, allocations: 54.78 kB / 0.7141 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01995/1.078, allocations: 9.66 MB / 0.7235 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/1.078, allocations: 92.64 kB / 0.7236 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003421/1.079, allocations: 191.8 kB / 0.7238 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/1.079, allocations: 254.9 kB / 0.724 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/1.085, allocations: 1.924 MB / 0.7259 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002497/1.085, allocations: 373.1 kB / 0.7263 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00687/1.092, allocations: 414.9 kB / 0.7267 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.094, allocations: 0.5213 MB / 0.7272 GB, free: 159.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1039): * Single equations (assignments): 1028 * 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.00711/1.101, allocations: 3.405 MB / 0.7305 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.102, allocations: 0.533 MB / 0.731 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.103, allocations: 0.6284 MB / 0.7316 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.103, allocations: 19.47 kB / 0.7316 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.103, allocations: 4.812 kB / 0.7317 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.103, allocations: 11.48 kB / 0.7317 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02303/1.126, allocations: 15.27 MB / 0.7466 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-05/1.126, allocations: 47.56 kB / 0.7466 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.127, allocations: 444.3 kB / 0.747 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.839e-05/1.127, allocations: 63.94 kB / 0.7471 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.128, allocations: 107.8 kB / 0.7472 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.03e-05/1.128, allocations: 87.75 kB / 0.7473 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-05/1.128, allocations: 75.58 kB / 0.7474 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/1.131, allocations: 4.319 MB / 0.7516 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.133, allocations: 0.6275 MB / 0.7522 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008163/1.134, allocations: 111.2 kB / 0.7523 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.136, allocations: 106.9 kB / 0.7524 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.136, allocations: 317.7 kB / 0.7527 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.136, allocations: 124 kB / 0.7528 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00594/1.142, allocations: 4.005 MB / 0.7567 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/1.142, allocations: 3.609 kB / 0.7567 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008423/1.151, allocations: 1.362 MB / 0.7581 GB, free: 141 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.004293/1.155, allocations: 5.032 MB / 0.763 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008707/1.164, allocations: 5.539 MB / 0.7684 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.799e-05/1.164, allocations: 12.25 kB / 0.7684 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/1.165, allocations: 1.198 MB / 0.7696 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006707/1.172, allocations: 0.9206 MB / 0.7705 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0836/1.256, allocations: 80.34 MB / 0.8489 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005619/1.261, allocations: 5.25 MB / 0.854 GB, free: 31.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005854/1.267, allocations: 2.57 MB / 0.8566 GB, free: 28.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003706/1.271, allocations: 3.424 MB / 0.8599 GB, free: 25.33 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/1.271, allocations: 0 / 0.8599 GB, free: 25.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.403/1.674, allocations: 100 MB / 0.9576 GB, free: 156.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/12.32, allocations: 3.719 kB / 0.9576 GB, free: 156.8 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches