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.001197/0.001202, allocations: 116.2 kB / 17.05 MB, free: 6.035 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.001355/0.001355, allocations: 191 kB / 17.98 MB, free: 5.121 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.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1962/0.1962, allocations: 43.52 MB / 314.7 MB, free: 460 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.001566/0.001567, allocations: 61.47 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01508/0.1439, allocations: 11.04 MB / 0.4993 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006338/0.1502, allocations: 3.053 MB / 0.5022 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1519, allocations: 55.94 kB / 0.5023 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.1557, allocations: 2.021 MB / 0.5043 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.1586, allocations: 1.206 MB / 0.5054 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.1593, allocations: 283.5 kB / 0.5057 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.1625, allocations: 2.501 MB / 0.5082 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.1653, allocations: 2.407 MB / 0.5105 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.167, allocations: 0.9617 MB / 0.5114 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1687, allocations: 1.297 MB / 0.5127 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.1691, allocations: 224 kB / 0.5129 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1704, allocations: 0.7099 MB / 0.5136 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.1715, allocations: 1.239 MB / 0.5148 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.1737, allocations: 1.468 MB / 0.5163 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005083/0.1788, allocations: 4.831 MB / 0.521 GB, free: 10.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1789, allocations: 4 kB / 0.521 GB, free: 10.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1789, allocations: 0 / 0.521 GB, free: 10.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001022/0.179, allocations: 0 / 0.521 GB, free: 10.37 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.005787/0.1848, allocations: 3.151 MB / 0.5241 GB, free: 7.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1848, allocations: 8.031 kB / 0.5241 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005467/0.1903, allocations: 1.623 MB / 0.5257 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.1931, allocations: 1.418 MB / 0.527 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.1933, allocations: 160.4 kB / 0.5272 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/0.1938, allocations: 211.8 kB / 0.5274 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2337/0.4275, allocations: 6.968 MB / 0.5342 GB, free: 36.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.4276, allocations: 14.94 kB / 0.5342 GB, free: 36.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.4279, allocations: 93.62 kB / 0.5343 GB, free: 36.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00237/0.4303, allocations: 1.527 MB / 0.5358 GB, free: 36.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.4426, allocations: 5.948 MB / 0.5416 GB, free: 34.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.473, allocations: 22.09 MB / 0.5632 GB, free: 20.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.4772, allocations: 2.195 MB / 0.5653 GB, free: 18.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4782, allocations: 0.8141 MB / 0.5661 GB, free: 18.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005895/0.4841, allocations: 3.952 MB / 0.57 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.4842, allocations: 47.12 kB / 0.57 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.268e-06/0.4842, allocations: 0 / 0.57 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005414/0.4897, allocations: 2.251 MB / 0.5722 GB, free: 13.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4897, allocations: 60.06 kB / 0.5723 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.4921, allocations: 2.06 MB / 0.5743 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.4922, allocations: 37.38 kB / 0.5743 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/0.493, allocations: 2.011 MB / 0.5763 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.4933, allocations: 382.8 kB / 0.5766 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/0.494, allocations: 0.6706 MB / 0.5773 GB, free: 8.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.4941, allocations: 365.8 kB / 0.5777 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.4952, allocations: 0.9941 MB / 0.5786 GB, free: 7.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.4971, allocations: 2.997 MB / 0.5815 GB, free: 3.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.501, allocations: 4.355 MB / 0.5858 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/0.501, allocations: 20 kB / 0.5858 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006102/0.5072, allocations: 3.884 MB / 0.5896 GB, free: 9.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.5072, allocations: 36 kB / 0.5896 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.852e-05/0.5073, allocations: 68.84 kB / 0.5897 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.804e-05/0.5074, allocations: 97.88 kB / 0.5898 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.5096, allocations: 0.7291 MB / 0.5905 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.5097, allocations: 143.4 kB / 0.5907 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.5118, allocations: 445.1 kB / 0.5911 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.5121, allocations: 204 kB / 0.5913 GB, free: 8.211 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.002256/0.5144, allocations: 1.476 MB / 0.5927 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.5147, allocations: 173.7 kB / 0.5929 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.5167, allocations: 1.241 MB / 0.5941 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5168, allocations: 14.19 kB / 0.5941 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5168, allocations: 0 / 0.5941 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5168, allocations: 7.969 kB / 0.5941 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008018/0.5248, allocations: 5.037 MB / 0.599 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.5249, allocations: 8 kB / 0.599 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.5255, allocations: 139.8 kB / 0.5992 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.5255, allocations: 12 kB / 0.5992 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/0.5256, allocations: 28 kB / 0.5992 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/0.5256, allocations: 19.92 kB / 0.5992 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.5256, allocations: 19.88 kB / 0.5993 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.5276, allocations: 1.577 MB / 0.6008 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.5281, allocations: 270.5 kB / 0.601 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5283, allocations: 36.47 kB / 0.6011 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.5289, allocations: 35.98 kB / 0.6011 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.5291, allocations: 83.67 kB / 0.6012 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.5291, allocations: 36 kB / 0.6012 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.5312, allocations: 1.348 MB / 0.6025 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5312, allocations: 0 / 0.6025 GB, free: 12.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003024/0.5342, allocations: 0.7723 MB / 0.6033 GB, free: 11.5 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.0003737/0.5346, allocations: 157.7 kB / 0.6035 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003668/0.5383, allocations: 2.328 MB / 0.6057 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.5383, allocations: 4 kB / 0.6057 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008269/0.5392, allocations: 0.5594 MB / 0.6063 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.5408, allocations: 260.9 kB / 0.6065 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5513, allocations: 6.075 MB / 0.6125 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/0.5541, allocations: 2.462 MB / 0.6149 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/0.5547, allocations: 163.4 kB / 0.615 GB, free: 15.33 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5547, allocations: 0 / 0.615 GB, free: 15.33 MB / 462.1 MB Notification: Performance of Templates: time 0.05367/0.6084, allocations: 33.31 MB / 0.6475 GB, free: 14.03 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