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.007081/0.007081, allocations: 99.98 kB / 15.87 MB, free: 6.309 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.001728/0.001728, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.36/1.36, allocations: 205.1 MB / 222.6 MB, free: 4.938 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.2938/0.2938, allocations: 43.5 MB / 313.5 MB, free: 8.352 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.00146/0.00146, allocations: 74.56 kB / 382.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 57.78 MB / 439.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2062/0.309, allocations: 38.98 MB / 478.9 MB, free: 27.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3233, allocations: 7.705 MB / 486.6 MB, free: 22.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007357/0.3307, allocations: 159.8 kB / 486.8 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.334, allocations: 2.005 MB / 488.8 MB, free: 21.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.3364, allocations: 1.139 MB / 489.9 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.3369, allocations: 272.8 kB / 490.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.3396, allocations: 3.65 MB / 493.8 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.3421, allocations: 2.374 MB / 496.2 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3432, allocations: 0.8588 MB / 497 MB, free: 19.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.3446, allocations: 1.362 MB / 498.4 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003307/0.345, allocations: 161.6 kB / 498.6 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.3463, allocations: 0.6966 MB / 499.3 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3474, allocations: 1.202 MB / 0.4887 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.3486, allocations: 1.421 MB / 0.4901 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.3538, allocations: 4.603 MB / 0.4946 GB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3539, allocations: 0 / 0.4946 GB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3539, allocations: 5.375 kB / 0.4946 GB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.354, allocations: 0 / 0.4946 GB, free: 15.34 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.006221/0.3602, allocations: 3.143 MB / 0.4977 GB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3603, allocations: 10.59 kB / 0.4977 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007522/0.3611, allocations: 0.5266 MB / 0.4982 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.3662, allocations: 1.623 MB / 0.4998 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.3686, allocations: 1.408 MB / 0.5012 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3688, allocations: 160.3 kB / 0.5013 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.3691, allocations: 216 kB / 0.5015 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.3792, allocations: 6.967 MB / 0.5083 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.3793, allocations: 13.34 kB / 0.5083 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.3796, allocations: 93.36 kB / 0.5084 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.3815, allocations: 1.525 MB / 0.5099 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008698/0.3902, allocations: 5.957 MB / 0.5157 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02699/0.4172, allocations: 22.24 MB / 0.5375 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/0.4217, allocations: 2.19 MB / 0.5396 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4229, allocations: 0.8134 MB / 0.5404 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006858/0.4298, allocations: 3.971 MB / 0.5443 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4298, allocations: 35.22 kB / 0.5443 GB, free: 5.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.128e-06/0.4298, allocations: 0 / 0.5443 GB, free: 5.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005643/0.4355, allocations: 2.26 MB / 0.5465 GB, free: 2.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4356, allocations: 60.06 kB / 0.5466 GB, free: 2.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.4383, allocations: 2.064 MB / 0.5486 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.4383, allocations: 37.7 kB / 0.5486 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.4395, allocations: 2.007 MB / 0.5506 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.4398, allocations: 375.1 kB / 0.5509 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/0.4406, allocations: 0.6707 MB / 0.5516 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4408, allocations: 365.9 kB / 0.5519 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.4421, allocations: 0.9941 MB / 0.5529 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.4448, allocations: 2.992 MB / 0.5558 GB, free: 8.262 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004752/0.4495, allocations: 4.368 MB / 0.5601 GB, free: 2.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/0.4496, allocations: 20 kB / 0.5601 GB, free: 2.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00538/0.455, allocations: 3.882 MB / 0.5639 GB, free: 14.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.455, allocations: 36 kB / 0.5639 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-05/0.4551, allocations: 72 kB / 0.564 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.386e-05/0.4552, allocations: 92 kB / 0.5641 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.457, allocations: 0.7251 MB / 0.5648 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.769e-05/0.4571, allocations: 139.5 kB / 0.5649 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4589, allocations: 459.5 kB / 0.5654 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.4592, allocations: 208 kB / 0.5656 GB, free: 13.27 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.00196/0.4611, allocations: 1.458 MB / 0.567 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.4614, allocations: 173.7 kB / 0.5672 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.4631, allocations: 1.245 MB / 0.5684 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4631, allocations: 12 kB / 0.5684 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4631, allocations: 0 / 0.5684 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4632, allocations: 3.984 kB / 0.5684 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006786/0.4699, allocations: 5.03 MB / 0.5733 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.47, allocations: 8 kB / 0.5733 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.4705, allocations: 139.8 kB / 0.5735 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.4705, allocations: 20 kB / 0.5735 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.4706, allocations: 35.97 kB / 0.5735 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.574e-05/0.4706, allocations: 16.8 kB / 0.5735 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.4706, allocations: 15.94 kB / 0.5735 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.4723, allocations: 1.59 MB / 0.5751 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.4727, allocations: 266.5 kB / 0.5753 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.4729, allocations: 24 kB / 0.5754 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.4735, allocations: 39.97 kB / 0.5754 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4736, allocations: 75.69 kB / 0.5755 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.4737, allocations: 43.92 kB / 0.5755 GB, free: 2.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001658/0.4753, allocations: 1.348 MB / 0.5768 GB, free: 1.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4754, allocations: 0 / 0.5768 GB, free: 1.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00281/0.4782, allocations: 0.7776 MB / 0.5776 GB, free: 0.5469 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.002299/0.4805, allocations: 2.21 MB / 0.5798 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003594/0.4841, allocations: 2.298 MB / 0.582 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4841, allocations: 0 / 0.582 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.4848, allocations: 0.5651 MB / 0.5826 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.4862, allocations: 241.8 kB / 0.5828 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/0.5179, allocations: 26 MB / 0.6082 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.5201, allocations: 2.462 MB / 0.6106 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0024/0.5225, allocations: 1.035 MB / 0.6116 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.524, allocations: 1.167 MB / 0.6127 GB, free: 9 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.524, allocations: 0 / 0.6127 GB, free: 9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/0.7555, allocations: 34.51 MB / 0.6464 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.7557, allocations: 188.3 kB / 0.6466 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.146, allocations: 0 / 0.6466 GB, free: 161.5 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