Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",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.001567/0.001567, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001309/0.001309, allocations: 183 kB / 18.72 MB, free: 4.332 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2176/0.2176, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3194, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01064/0.3301, allocations: 9.725 MB / 0.5279 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006812/0.337, allocations: 2.927 MB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.3388, allocations: 54.75 kB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.343, allocations: 1.98 MB / 0.5328 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.3464, allocations: 1.136 MB / 0.5339 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.3473, allocations: 298.3 kB / 0.5342 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003369/0.3507, allocations: 2.325 MB / 0.5364 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.3535, allocations: 2.326 MB / 0.5387 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.3551, allocations: 0.9034 MB / 0.5396 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3568, allocations: 1.179 MB / 0.5407 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.3572, allocations: 196.8 kB / 0.5409 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.3586, allocations: 0.702 MB / 0.5416 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.3597, allocations: 1.141 MB / 0.5427 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.3612, allocations: 1.355 MB / 0.544 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.3663, allocations: 4.463 MB / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3664, allocations: 0 / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3664, allocations: 3.938 kB / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.136e-05/0.3665, allocations: 0 / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005431/0.3719, allocations: 3.02 MB / 0.5514 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.372, allocations: 12.03 kB / 0.5514 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007077/0.3727, allocations: 487.8 kB / 0.5518 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/0.3781, allocations: 1.617 MB / 0.5534 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.3808, allocations: 1.356 MB / 0.5547 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.3809, allocations: 155.8 kB / 0.5549 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.3813, allocations: 191.9 kB / 0.5551 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.3917, allocations: 6.436 MB / 0.5614 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.113e-05/0.3918, allocations: 11.88 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.392, allocations: 87.91 kB / 0.5614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.3943, allocations: 1.399 MB / 0.5628 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.4048, allocations: 5.491 MB / 0.5682 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02924/0.4341, allocations: 20.5 MB / 0.5882 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.4384, allocations: 2.009 MB / 0.5902 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.4395, allocations: 0.6979 MB / 0.5908 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006577/0.4461, allocations: 3.64 MB / 0.5944 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4462, allocations: 35 kB / 0.5944 GB, free: 12.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.4462, allocations: 7.938 kB / 0.5944 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005589/0.4518, allocations: 1.986 MB / 0.5964 GB, free: 10.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4519, allocations: 59.84 kB / 0.5964 GB, free: 10.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.4546, allocations: 1.97 MB / 0.5984 GB, free: 8.852 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.4547, allocations: 33.7 kB / 0.5984 GB, free: 8.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.4562, allocations: 1.958 MB / 0.6003 GB, free: 6.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.4565, allocations: 337.5 kB / 0.6006 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008234/0.4574, allocations: 0.6235 MB / 0.6012 GB, free: 5.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4576, allocations: 353.9 kB / 0.6016 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4589, allocations: 0.8881 MB / 0.6024 GB, free: 4.625 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.4619, allocations: 2.782 MB / 0.6052 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004893/0.4668, allocations: 3.995 MB / 0.6091 GB, free: 11.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.45e-05/0.4669, allocations: 20 kB / 0.6091 GB, free: 11.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005693/0.4726, allocations: 3.57 MB / 0.6126 GB, free: 8.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.4727, allocations: 32 kB / 0.6126 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.221e-05/0.4727, allocations: 72.09 kB / 0.6127 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.48e-05/0.4728, allocations: 88 kB / 0.6127 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.4748, allocations: 0.6589 MB / 0.6134 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.4749, allocations: 131.5 kB / 0.6135 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.4767, allocations: 424.8 kB / 0.6139 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.477, allocations: 188 kB / 0.6141 GB, free: 6.797 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * 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.002/0.479, allocations: 1.377 MB / 0.6154 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.4793, allocations: 170.8 kB / 0.6156 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.4796, allocations: 197.2 kB / 0.6158 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.4797, allocations: 8 kB / 0.6158 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4797, allocations: 0 / 0.6158 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4797, allocations: 3.984 kB / 0.6158 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.486, allocations: 4.105 MB / 0.6198 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.486, allocations: 7.938 kB / 0.6198 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.4864, allocations: 103.8 kB / 0.6199 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.4865, allocations: 11.98 kB / 0.6199 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.4865, allocations: 16 kB / 0.6199 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.4865, allocations: 11.94 kB / 0.62 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.4865, allocations: 12.41 kB / 0.62 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.4881, allocations: 1.275 MB / 0.6212 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.4885, allocations: 259.7 kB / 0.6215 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4887, allocations: 20 kB / 0.6215 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.4892, allocations: 31.92 kB / 0.6215 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4893, allocations: 63.75 kB / 0.6216 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.4893, allocations: 28 kB / 0.6216 GB, free: 14.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.4911, allocations: 1.287 MB / 0.6229 GB, free: 13.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4911, allocations: 0 / 0.6229 GB, free: 13.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002485/0.4936, allocations: 0.7124 MB / 0.6236 GB, free: 12.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002129/0.4958, allocations: 1.881 MB / 0.6254 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.4991, allocations: 2.066 MB / 0.6274 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4991, allocations: 0 / 0.6274 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.4998, allocations: 465 kB / 0.6278 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.5011, allocations: 256.3 kB / 0.6281 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03043/0.5316, allocations: 21.2 MB / 0.6488 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002868/0.5345, allocations: 2.323 MB / 0.6511 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002226/0.5368, allocations: 0.9601 MB / 0.652 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.5383, allocations: 1.069 MB / 0.653 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.5383, allocations: 0 / 0.653 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/0.6087, allocations: 33.11 MB / 0.6854 GB, free: 11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13, allocations: 11.27 kB / 0.6854 GB, free: 10.99 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches