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.001346/0.001346, allocations: 108.9 kB / 17.33 MB, free: 5.996 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.001439/0.001439, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.387/1.387, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2135/0.2135, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.75 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03615/0.1605, allocations: 37.7 MB / 0.4946 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.1785, allocations: 7.525 MB / 0.502 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00719/0.1857, allocations: 155.7 kB / 0.5021 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2523/0.4381, allocations: 1.921 MB / 0.504 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.441, allocations: 1.056 MB / 0.505 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.4418, allocations: 270.5 kB / 0.5053 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.4452, allocations: 2.347 MB / 0.5076 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.4483, allocations: 2.448 MB / 0.51 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.4499, allocations: 0.9136 MB / 0.5109 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.4519, allocations: 1.291 MB / 0.5121 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.4524, allocations: 196.8 kB / 0.5123 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.454, allocations: 0.7083 MB / 0.513 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.4553, allocations: 1.159 MB / 0.5142 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.4566, allocations: 1.361 MB / 0.5155 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.4613, allocations: 4.319 MB / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4613, allocations: 0 / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4613, allocations: 1.469 kB / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.879e-05/0.4614, allocations: 0 / 0.5197 GB, free: 8.961 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.005364/0.4668, allocations: 2.935 MB / 0.5226 GB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4669, allocations: 13.94 kB / 0.5226 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006173/0.4675, allocations: 495.3 kB / 0.5231 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.4722, allocations: 1.587 MB / 0.5246 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.4749, allocations: 1.346 MB / 0.5259 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/0.475, allocations: 153.8 kB / 0.5261 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004283/0.4754, allocations: 191 kB / 0.5262 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.4862, allocations: 6.435 MB / 0.5325 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.4863, allocations: 13.31 kB / 0.5325 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.4866, allocations: 92.66 kB / 0.5326 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001836/0.4884, allocations: 1.399 MB / 0.534 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009582/0.498, allocations: 5.486 MB / 0.5394 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.525, allocations: 20.6 MB / 0.5595 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.529, allocations: 2.01 MB / 0.5614 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.5299, allocations: 0.6875 MB / 0.5621 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006155/0.5361, allocations: 3.641 MB / 0.5657 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5362, allocations: 41.91 kB / 0.5657 GB, free: 2.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.066e-06/0.5362, allocations: 0 / 0.5657 GB, free: 2.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005264/0.5414, allocations: 1.982 MB / 0.5676 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.5415, allocations: 59.84 kB / 0.5677 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.5447, allocations: 1.96 MB / 0.5696 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/0.5448, allocations: 40.14 kB / 0.5696 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.546, allocations: 1.887 MB / 0.5715 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.5464, allocations: 307.8 kB / 0.5718 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007899/0.5471, allocations: 0.6253 MB / 0.5724 GB, free: 11.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5473, allocations: 357.9 kB / 0.5727 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.5485, allocations: 0.8881 MB / 0.5736 GB, free: 10.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.5508, allocations: 2.777 MB / 0.5763 GB, free: 6.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.5546, allocations: 3.998 MB / 0.5802 GB, free: 2.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.5547, allocations: 20 kB / 0.5802 GB, free: 2.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005036/0.5597, allocations: 3.555 MB / 0.5837 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.5598, allocations: 35.98 kB / 0.5837 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.5599, allocations: 68 kB / 0.5838 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.871e-05/0.56, allocations: 88 kB / 0.5839 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.5618, allocations: 0.6574 MB / 0.5845 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/0.5619, allocations: 134.2 kB / 0.5847 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.564, allocations: 420 kB / 0.5851 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.5642, allocations: 188 kB / 0.5852 GB, free: 13.48 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.002186/0.5664, allocations: 1.371 MB / 0.5866 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.5667, allocations: 157.9 kB / 0.5867 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.5671, allocations: 201.2 kB / 0.5869 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.5671, allocations: 8 kB / 0.5869 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5672, allocations: 0 / 0.5869 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.5672, allocations: 3.984 kB / 0.5869 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/0.5746, allocations: 4.107 MB / 0.5909 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5746, allocations: 8.156 kB / 0.591 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.575, allocations: 99.92 kB / 0.5911 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.5751, allocations: 8 kB / 0.5911 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.5751, allocations: 23.98 kB / 0.5911 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.5751, allocations: 14.62 kB / 0.5911 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/0.5751, allocations: 14.7 kB / 0.5911 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.5768, allocations: 1.27 MB / 0.5923 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.5772, allocations: 246.8 kB / 0.5926 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.5775, allocations: 23.98 kB / 0.5926 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.578, allocations: 23.98 kB / 0.5926 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.5781, allocations: 57.27 kB / 0.5927 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.5782, allocations: 31.98 kB / 0.5927 GB, free: 5.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001833/0.58, allocations: 1.287 MB / 0.594 GB, free: 4.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5801, allocations: 0 / 0.594 GB, free: 4.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002564/0.5826, allocations: 0.7104 MB / 0.5947 GB, free: 3.691 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.001882/0.5845, allocations: 1.873 MB / 0.5965 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.5878, allocations: 2.258 MB / 0.5987 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.5878, allocations: 2.531 kB / 0.5987 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.5884, allocations: 464.9 kB / 0.5991 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.5898, allocations: 245.7 kB / 0.5994 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/0.6308, allocations: 23.66 MB / 0.6225 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003734/0.6346, allocations: 2.315 MB / 0.6247 GB, free: 2.129 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002384/0.637, allocations: 0.964 MB / 0.6257 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/0.6387, allocations: 1.066 MB / 0.6267 GB, free: 100 kB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6388, allocations: 4 kB / 0.6267 GB, free: 96 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06105/0.6998, allocations: 32.37 MB / 0.6583 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.7001, allocations: 192.9 kB / 0.6585 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.375, allocations: 0 / 0.6585 GB, free: 15.67 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