Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",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.0008138/0.0008174, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 184.9 kB / 16.92 MB, free: 6.918 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.327/1.327, allocations: 205.4 MB / 223.1 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3491/0.3491, allocations: 43.57 MB / 315 MB, free: 8.672 MB / 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.000499/0.000499, allocations: 16.33 kB / 384.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2358/0.3528, allocations: 37.88 MB / 481.4 MB, free: 26.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3683, allocations: 7.653 MB / 489.1 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006645/0.375, allocations: 162.6 kB / 489.2 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009736/0.376, allocations: 315.8 kB / 489.5 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.3786, allocations: 1.14 MB / 490.7 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.3791, allocations: 276 kB / 491 MB, free: 21.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.3819, allocations: 3.645 MB / 494.6 MB, free: 20.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.3854, allocations: 3.416 MB / 498 MB, free: 19.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009018/0.3863, allocations: 0.6968 MB / 498.7 MB, free: 18.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.3876, allocations: 1.173 MB / 499.9 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.3879, allocations: 98.38 kB / 500 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.389, allocations: 0.6312 MB / 0.4889 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000993/0.39, allocations: 1.109 MB / 0.49 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.3911, allocations: 1.329 MB / 0.4913 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006592/0.3977, allocations: 4.483 MB / 0.4956 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3977, allocations: 0 / 0.4956 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3977, allocations: 0.6562 kB / 0.4956 GB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001886/0.3979, allocations: 0 / 0.4956 GB, free: 15.82 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006487/0.4044, allocations: 2.581 MB / 0.4982 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4045, allocations: 9.625 kB / 0.4982 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.4055, allocations: 0.5243 MB / 0.4987 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.4117, allocations: 1.665 MB / 0.5003 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.415, allocations: 1.41 MB / 0.5017 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.4152, allocations: 169.4 kB / 0.5018 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/0.4157, allocations: 209 kB / 0.502 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.4278, allocations: 6.961 MB / 0.5088 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.017e-05/0.4279, allocations: 17.12 kB / 0.5089 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.4283, allocations: 97.42 kB / 0.5089 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/0.4305, allocations: 1.526 MB / 0.5104 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.4409, allocations: 5.946 MB / 0.5162 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/0.4689, allocations: 22.26 MB / 0.538 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004214/0.4731, allocations: 2.194 MB / 0.5401 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.4742, allocations: 0.8127 MB / 0.5409 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006206/0.4805, allocations: 3.956 MB / 0.5448 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4805, allocations: 47.2 kB / 0.5448 GB, free: 6.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.525e-06/0.4805, allocations: 0 / 0.5448 GB, free: 6.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.00554/0.4861, allocations: 2.264 MB / 0.547 GB, free: 4.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.4861, allocations: 60.06 kB / 0.5471 GB, free: 4.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.4888, allocations: 2.053 MB / 0.5491 GB, free: 2.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.4888, allocations: 37.7 kB / 0.5491 GB, free: 2.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.49, allocations: 2.007 MB / 0.5511 GB, free: 220 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.4903, allocations: 383.2 kB / 0.5515 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.4906, allocations: 300.9 kB / 0.5517 GB, free: 15.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4907, allocations: 365.9 kB / 0.5521 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.4921, allocations: 0.9979 MB / 0.5531 GB, free: 14.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.4946, allocations: 2.992 MB / 0.556 GB, free: 10.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.4989, allocations: 4.356 MB / 0.5602 GB, free: 4.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/0.4989, allocations: 20 kB / 0.5603 GB, free: 4.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005562/0.5045, allocations: 3.881 MB / 0.5641 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.5046, allocations: 39.94 kB / 0.5641 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/0.5047, allocations: 72 kB / 0.5642 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.414e-05/0.5047, allocations: 92.75 kB / 0.5643 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.5066, allocations: 0.7213 MB / 0.565 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000107/0.5068, allocations: 147.4 kB / 0.5651 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.5087, allocations: 451.1 kB / 0.5655 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.509, allocations: 212 kB / 0.5657 GB, free: 15.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.002288/0.5113, allocations: 1.462 MB / 0.5672 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.5115, allocations: 169.8 kB / 0.5673 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.5135, allocations: 1.245 MB / 0.5685 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.5135, allocations: 12 kB / 0.5685 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5135, allocations: 0 / 0.5685 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5135, allocations: 11.91 kB / 0.5686 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.5211, allocations: 5.03 MB / 0.5735 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5211, allocations: 12 kB / 0.5735 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.5217, allocations: 139.7 kB / 0.5736 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.5217, allocations: 16 kB / 0.5736 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.5218, allocations: 27.98 kB / 0.5737 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.5218, allocations: 15.94 kB / 0.5737 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.5218, allocations: 19.92 kB / 0.5737 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.5237, allocations: 1.582 MB / 0.5752 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.5241, allocations: 274.4 kB / 0.5755 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5243, allocations: 31.98 kB / 0.5755 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.5249, allocations: 39.97 kB / 0.5756 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.525, allocations: 79.67 kB / 0.5756 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.5251, allocations: 40 kB / 0.5757 GB, free: 4.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.527, allocations: 1.344 MB / 0.577 GB, free: 3.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.527, allocations: 0 / 0.577 GB, free: 3.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002691/0.5297, allocations: 0.7737 MB / 0.5777 GB, free: 2.473 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.00222/0.5319, allocations: 2.21 MB / 0.5799 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.5353, allocations: 2.291 MB / 0.5821 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5353, allocations: 0 / 0.5821 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.536, allocations: 0.5574 MB / 0.5827 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.5395, allocations: 259.8 kB / 0.5829 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/0.5734, allocations: 26.01 MB / 0.6083 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.5762, allocations: 2.462 MB / 0.6107 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002509/0.5787, allocations: 1.043 MB / 0.6118 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.5801, allocations: 1.167 MB / 0.6129 GB, free: 10.89 MB / 494.1 MB Notification: Performance of SimCode: time 2.454e-06/0.5801, allocations: 0 / 0.6129 GB, free: 10.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2411/0.8212, allocations: 34.22 MB / 0.6463 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.8214, allocations: 197.3 kB / 0.6465 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.313, allocations: 0 / 0.6465 GB, free: 157.6 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches