Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009378/0.0009378, allocations: 94.11 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 204.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.2 MB / 245.9 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 45.91 MB / 344 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002616, allocations: 11.98 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 63.45 MB / 481.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03045/0.1631, allocations: 32.32 MB / 0.5017 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2922/0.4554, allocations: 7.551 MB / 0.509 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006447/0.4619, allocations: 155.5 kB / 0.5092 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005387/0.4673, allocations: 1.653 MB / 0.5108 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01442/0.4818, allocations: 4.717 MB / 0.5154 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.4833, allocations: 224.9 kB / 0.5156 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.4861, allocations: 1.317 MB / 0.5169 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.4903, allocations: 2.955 MB / 0.5198 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.4915, allocations: 0.5589 MB / 0.5203 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.4925, allocations: 0.694 MB / 0.521 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.4928, allocations: 85.94 kB / 0.5211 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.4939, allocations: 0.5267 MB / 0.5216 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009633/0.4949, allocations: 0.9176 MB / 0.5225 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005504/0.4954, allocations: 0.5222 MB / 0.523 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.4986, allocations: 3.423 MB / 0.5264 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4986, allocations: 1.188 kB / 0.5264 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4986, allocations: 0 / 0.5264 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.4987, allocations: 0 / 0.5264 GB, free: 7.457 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.004571/0.5033, allocations: 2.494 MB / 0.5288 GB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5034, allocations: 8.781 kB / 0.5288 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/0.5092, allocations: 1.916 MB / 0.5307 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.5129, allocations: 1.321 MB / 0.532 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.5131, allocations: 147 kB / 0.5321 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006746/0.5138, allocations: 193.6 kB / 0.5323 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.5311, allocations: 6.457 MB / 0.5386 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.5312, allocations: 18.34 kB / 0.5386 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003655/0.5316, allocations: 90.41 kB / 0.5387 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002947/0.5345, allocations: 1.406 MB / 0.5401 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.5468, allocations: 5.511 MB / 0.5455 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03694/0.5838, allocations: 20.65 MB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/0.5883, allocations: 1.993 MB / 0.5676 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007397/0.5957, allocations: 3.662 MB / 0.5711 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5958, allocations: 39 kB / 0.5712 GB, free: 7.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.377e-06/0.5958, allocations: 0 / 0.5712 GB, free: 7.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005542/0.6014, allocations: 2.24 MB / 0.5734 GB, free: 5.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.6015, allocations: 59.84 kB / 0.5734 GB, free: 5.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.6043, allocations: 1.953 MB / 0.5753 GB, free: 3.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.6044, allocations: 37.7 kB / 0.5754 GB, free: 3.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.6056, allocations: 1.876 MB / 0.5772 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.606, allocations: 321.9 kB / 0.5775 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6061, allocations: 59.05 kB / 0.5776 GB, free: 1.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003021/0.6064, allocations: 497.3 kB / 0.578 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.6076, allocations: 0.8764 MB / 0.5789 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6101, allocations: 2.755 MB / 0.5816 GB, free: 12.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.6121, allocations: 1.557 MB / 0.5831 GB, free: 10.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/0.6121, allocations: 20 kB / 0.5831 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005404/0.6175, allocations: 3.528 MB / 0.5866 GB, free: 6.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.6176, allocations: 36.94 kB / 0.5866 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-05/0.6177, allocations: 64 kB / 0.5867 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.6178, allocations: 100 kB / 0.5868 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.6196, allocations: 0.6589 MB / 0.5874 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001077/0.6198, allocations: 135.5 kB / 0.5875 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.6219, allocations: 421.3 kB / 0.5879 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.6221, allocations: 187 kB / 0.5881 GB, free: 5.391 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002483/0.6246, allocations: 1.373 MB / 0.5895 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.6249, allocations: 157.8 kB / 0.5896 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.6253, allocations: 197.2 kB / 0.5898 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.6253, allocations: 8 kB / 0.5898 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6253, allocations: 3.984 kB / 0.5898 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6253, allocations: 3.953 kB / 0.5898 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00698/0.6323, allocations: 4.09 MB / 0.5938 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.6324, allocations: 8 kB / 0.5938 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.6328, allocations: 103.8 kB / 0.5939 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.6328, allocations: 12 kB / 0.5939 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.6329, allocations: 16 kB / 0.5939 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.6329, allocations: 15.89 kB / 0.5939 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6329, allocations: 13.69 kB / 0.594 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.6347, allocations: 1.729 MB / 0.5957 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.6352, allocations: 262.6 kB / 0.5959 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.6354, allocations: 16 kB / 0.5959 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.6358, allocations: 31.97 kB / 0.5959 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.6359, allocations: 55.84 kB / 0.596 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.636, allocations: 27.95 kB / 0.596 GB, free: 12.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.638, allocations: 1.271 MB / 0.5973 GB, free: 11.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.638, allocations: 7.938 kB / 0.5973 GB, free: 11.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002921/0.6409, allocations: 0.7099 MB / 0.598 GB, free: 10.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003713/0.6413, allocations: 145.9 kB / 0.5981 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.6447, allocations: 2.022 MB / 0.6001 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.6448, allocations: 0.9375 kB / 0.6001 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.6453, allocations: 464 kB / 0.6005 GB, free: 8.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.6466, allocations: 234.7 kB / 0.6008 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.6584, allocations: 6.267 MB / 0.6069 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.6609, allocations: 2.375 MB / 0.6092 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002528/0.6635, allocations: 0.9639 MB / 0.6101 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6638, allocations: 123.4 kB / 0.6103 GB, free: 14.11 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6638, allocations: 4 kB / 0.6103 GB, free: 14.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03015/0.694, allocations: 13.6 MB / 0.6235 GB, free: 0.5859 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches