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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 116.8 kB / 17.08 MB, free: 6.016 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.001986/0.001986, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.675/2.675, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4212/0.4212, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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.001465/0.001465, allocations: 63.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1946, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02123/0.2159, allocations: 11.03 MB / 0.4993 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.2271, allocations: 3.053 MB / 0.5023 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.2295, allocations: 55.94 kB / 0.5023 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.2347, allocations: 2.021 MB / 0.5043 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.2388, allocations: 1.202 MB / 0.5055 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.2399, allocations: 291.5 kB / 0.5058 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004271/0.2442, allocations: 2.501 MB / 0.5082 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/0.2483, allocations: 2.403 MB / 0.5106 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.2505, allocations: 0.9578 MB / 0.5115 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.253, allocations: 1.297 MB / 0.5128 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009444/0.254, allocations: 220 kB / 0.513 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.2561, allocations: 0.7099 MB / 0.5137 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001805/0.2579, allocations: 1.247 MB / 0.5149 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.2609, allocations: 1.472 MB / 0.5163 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007223/0.2682, allocations: 4.831 MB / 0.521 GB, free: 10.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2682, allocations: 0 / 0.521 GB, free: 10.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2682, allocations: 0 / 0.521 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002179/0.2685, allocations: 4 kB / 0.521 GB, free: 10.35 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.008853/0.2773, allocations: 3.147 MB / 0.5241 GB, free: 7.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2774, allocations: 8.031 kB / 0.5241 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/0.2831, allocations: 1.631 MB / 0.5257 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.2862, allocations: 1.422 MB / 0.5271 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2863, allocations: 160.4 kB / 0.5273 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004322/0.2868, allocations: 207.8 kB / 0.5275 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3987/0.6855, allocations: 6.962 MB / 0.5342 GB, free: 36.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.962e-05/0.6857, allocations: 23.25 kB / 0.5343 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.6862, allocations: 96.52 kB / 0.5344 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004512/0.6907, allocations: 1.524 MB / 0.5359 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.7108, allocations: 5.944 MB / 0.5417 GB, free: 35.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04855/0.7594, allocations: 22.09 MB / 0.5632 GB, free: 20.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.7651, allocations: 2.198 MB / 0.5654 GB, free: 18.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.7668, allocations: 0.8098 MB / 0.5662 GB, free: 18.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.7784, allocations: 3.957 MB / 0.57 GB, free: 16.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.7786, allocations: 38.44 kB / 0.5701 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 9.568e-06/0.7786, allocations: 0 / 0.5701 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.011/0.7896, allocations: 2.26 MB / 0.5723 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.7897, allocations: 60.06 kB / 0.5723 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00607/0.7958, allocations: 2.056 MB / 0.5743 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.7962, allocations: 33.7 kB / 0.5744 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.7982, allocations: 2.013 MB / 0.5763 GB, free: 9.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008067/0.799, allocations: 380.3 kB / 0.5767 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/0.8013, allocations: 0.6727 MB / 0.5774 GB, free: 8.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8016, allocations: 365.8 kB / 0.5777 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.8044, allocations: 0.9941 MB / 0.5787 GB, free: 7.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/0.8084, allocations: 2.997 MB / 0.5816 GB, free: 3.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008806/0.8173, allocations: 4.359 MB / 0.5859 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/0.8174, allocations: 20 kB / 0.5859 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01464/0.8321, allocations: 3.881 MB / 0.5897 GB, free: 9.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.8324, allocations: 36 kB / 0.5897 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003589/0.8329, allocations: 72 kB / 0.5898 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.8333, allocations: 92.75 kB / 0.5899 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005493/0.8388, allocations: 0.7252 MB / 0.5906 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003857/0.8393, allocations: 147.4 kB / 0.5907 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/0.845, allocations: 453.3 kB / 0.5911 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009766/0.846, allocations: 200 kB / 0.5913 GB, free: 8.195 MB / 430.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.005192/0.8513, allocations: 1.472 MB / 0.5928 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008461/0.8522, allocations: 177.7 kB / 0.5929 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/0.8566, allocations: 1.245 MB / 0.5942 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.8567, allocations: 8 kB / 0.5942 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.8567, allocations: 0 / 0.5942 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.8568, allocations: 3.984 kB / 0.5942 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/0.8752, allocations: 5.033 MB / 0.5991 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-05/0.8753, allocations: 12.06 kB / 0.5991 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.8767, allocations: 143.7 kB / 0.5992 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-05/0.8767, allocations: 12.75 kB / 0.5992 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.8769, allocations: 31.98 kB / 0.5993 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-05/0.877, allocations: 19.92 kB / 0.5993 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.643e-05/0.877, allocations: 15.94 kB / 0.5993 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.8814, allocations: 1.577 MB / 0.6008 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8825, allocations: 270.5 kB / 0.6011 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006644/0.8832, allocations: 28.8 kB / 0.6011 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8847, allocations: 39.92 kB / 0.6012 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.8849, allocations: 83.67 kB / 0.6012 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.8851, allocations: 36 kB / 0.6013 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004106/0.8892, allocations: 1.348 MB / 0.6026 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8893, allocations: 0 / 0.6026 GB, free: 12.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005256/0.8945, allocations: 0.7764 MB / 0.6034 GB, free: 11.48 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.0007384/0.8953, allocations: 149.5 kB / 0.6035 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005081/0.9004, allocations: 2.326 MB / 0.6058 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/0.9005, allocations: 5.812 kB / 0.6058 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.9016, allocations: 0.5594 MB / 0.6063 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.9045, allocations: 270.9 kB / 0.6066 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.9242, allocations: 6.075 MB / 0.6125 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006382/0.9307, allocations: 2.458 MB / 0.6149 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009247/0.9317, allocations: 167.4 kB / 0.6151 GB, free: 15.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-05/0.9317, allocations: 0 / 0.6151 GB, free: 15.31 MB / 462.1 MB Notification: Performance of Templates: time 0.07938/1.011, allocations: 33.68 MB / 0.648 GB, free: 13.65 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches