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.001501/0.001501, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001619/0.001619, allocations: 194 kB / 18.12 MB, free: 5.383 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.326/1.326, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2182/0.2182, allocations: 44.18 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.62 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 60.84 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03411/0.1517, allocations: 37.7 MB / 0.4945 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.1675, allocations: 7.572 MB / 0.5019 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007287/0.1748, allocations: 155.6 kB / 0.502 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2384/0.4132, allocations: 1.984 MB / 0.5039 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.4167, allocations: 1.068 MB / 0.505 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000892/0.4176, allocations: 266.8 kB / 0.5052 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005206/0.4228, allocations: 3.4 MB / 0.5086 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.4263, allocations: 2.306 MB / 0.5108 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.4278, allocations: 0.8007 MB / 0.5116 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.4297, allocations: 1.247 MB / 0.5128 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004583/0.4301, allocations: 150.1 kB / 0.513 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.4317, allocations: 0.6952 MB / 0.5136 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.4328, allocations: 1.114 MB / 0.5147 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.434, allocations: 1.308 MB / 0.516 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.4383, allocations: 4.255 MB / 0.5202 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4383, allocations: 0 / 0.5202 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4384, allocations: 1.094 kB / 0.5202 GB, free: 8.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.386e-05/0.4385, allocations: 0 / 0.5202 GB, free: 8.906 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005591/0.4441, allocations: 2.936 MB / 0.523 GB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.4441, allocations: 8.219 kB / 0.523 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006536/0.4448, allocations: 0.4952 MB / 0.5235 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.4493, allocations: 1.586 MB / 0.5251 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.4518, allocations: 1.335 MB / 0.5264 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.4519, allocations: 158.3 kB / 0.5265 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.4522, allocations: 194 kB / 0.5267 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.4624, allocations: 6.437 MB / 0.533 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.4625, allocations: 14.94 kB / 0.533 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.4628, allocations: 86.61 kB / 0.5331 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/0.4647, allocations: 1.408 MB / 0.5345 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4759, allocations: 5.482 MB / 0.5398 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.5083, allocations: 20.6 MB / 0.5599 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/0.513, allocations: 2.009 MB / 0.5619 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.5141, allocations: 0.6983 MB / 0.5626 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007172/0.5213, allocations: 3.636 MB / 0.5661 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.5214, allocations: 42.98 kB / 0.5662 GB, free: 2.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.498e-06/0.5214, allocations: 0 / 0.5662 GB, free: 2.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005597/0.527, allocations: 1.977 MB / 0.5681 GB, free: 24 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.5271, allocations: 58.19 kB / 0.5682 GB, free: 15.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/0.5307, allocations: 1.966 MB / 0.5701 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/0.5307, allocations: 36.05 kB / 0.5701 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.5323, allocations: 1.886 MB / 0.5719 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.5327, allocations: 314.3 kB / 0.5722 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009979/0.5337, allocations: 0.6176 MB / 0.5729 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5339, allocations: 361.9 kB / 0.5732 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.5353, allocations: 0.892 MB / 0.5741 GB, free: 9.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.5383, allocations: 2.771 MB / 0.5768 GB, free: 6.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.5425, allocations: 4.004 MB / 0.5807 GB, free: 1.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.012e-05/0.5425, allocations: 16 kB / 0.5807 GB, free: 1.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005966/0.5485, allocations: 3.561 MB / 0.5842 GB, free: 14.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/0.5486, allocations: 34.5 kB / 0.5842 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/0.5487, allocations: 68 kB / 0.5843 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.5488, allocations: 88 kB / 0.5844 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.5509, allocations: 0.6604 MB / 0.585 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.551, allocations: 132.9 kB / 0.5851 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.5532, allocations: 423.9 kB / 0.5855 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.5536, allocations: 184 kB / 0.5857 GB, free: 12.88 MB / 446.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.002668/0.5563, allocations: 1.377 MB / 0.5871 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.5566, allocations: 157.9 kB / 0.5872 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.5571, allocations: 197.2 kB / 0.5874 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.5571, allocations: 15.98 kB / 0.5874 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5571, allocations: 4 kB / 0.5874 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5571, allocations: 0 / 0.5874 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/0.5651, allocations: 4.093 MB / 0.5914 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.5652, allocations: 8 kB / 0.5914 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.5656, allocations: 109.7 kB / 0.5915 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.5656, allocations: 10.62 kB / 0.5915 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.5657, allocations: 16 kB / 0.5915 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.5657, allocations: 10.91 kB / 0.5916 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.5657, allocations: 10.62 kB / 0.5916 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.5673, allocations: 1.268 MB / 0.5928 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.5677, allocations: 246.7 kB / 0.593 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.568, allocations: 20 kB / 0.5931 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.5686, allocations: 27.97 kB / 0.5931 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5687, allocations: 61.83 kB / 0.5931 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.5687, allocations: 34.97 kB / 0.5932 GB, free: 5.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001993/0.5707, allocations: 1.283 MB / 0.5944 GB, free: 3.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5707, allocations: 4 kB / 0.5944 GB, free: 3.805 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002901/0.5737, allocations: 0.7076 MB / 0.5951 GB, free: 3.094 MB / 446.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.002062/0.5757, allocations: 1.863 MB / 0.5969 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.5789, allocations: 2.034 MB / 0.5989 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5789, allocations: 0 / 0.5989 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.5795, allocations: 469.1 kB / 0.5994 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.5809, allocations: 238.5 kB / 0.5996 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/0.6154, allocations: 23.64 MB / 0.6227 GB, free: 4.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.6184, allocations: 2.316 MB / 0.625 GB, free: 1.777 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002458/0.6209, allocations: 0.9717 MB / 0.6259 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.6225, allocations: 1.081 MB / 0.627 GB, free: 15.76 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6225, allocations: 0 / 0.627 GB, free: 15.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05649/0.679, allocations: 31.89 MB / 0.6581 GB, free: 44 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.6793, allocations: 192.7 kB / 0.6583 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.235, allocations: 3.938 kB / 0.6583 GB, free: 15.79 MB / 0.5137 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