Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3548, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01103/0.3658, allocations: 9.518 MB / 0.5403 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.3729, allocations: 2.917 MB / 0.5431 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.3749, allocations: 48.75 kB / 0.5432 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.3789, allocations: 2.005 MB / 0.5451 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.3827, allocations: 1.103 MB / 0.5462 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.3836, allocations: 291 kB / 0.5465 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.3873, allocations: 2.335 MB / 0.5488 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.3898, allocations: 2.305 MB / 0.551 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.391, allocations: 0.88 MB / 0.5519 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.3923, allocations: 1.153 MB / 0.553 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.3927, allocations: 192 kB / 0.5532 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.3939, allocations: 0.7021 MB / 0.5539 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009078/0.3949, allocations: 1.114 MB / 0.555 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.3959, allocations: 1.308 MB / 0.5562 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.4001, allocations: 4.319 MB / 0.5605 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4001, allocations: 0 / 0.5605 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4001, allocations: 0 / 0.5605 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.598e-05/0.4002, allocations: 4 kB / 0.5605 GB, free: 3.406 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004653/0.4049, allocations: 2.861 MB / 0.5633 GB, free: 500 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4049, allocations: 12.03 kB / 0.5633 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.4101, allocations: 1.545 MB / 0.5648 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.4124, allocations: 1.347 MB / 0.5661 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.4125, allocations: 144 kB / 0.5662 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.4128, allocations: 187.8 kB / 0.5664 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008574/0.4214, allocations: 6.246 MB / 0.5725 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.4215, allocations: 15.88 kB / 0.5725 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.4217, allocations: 91.91 kB / 0.5726 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/0.4236, allocations: 1.34 MB / 0.5739 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008946/0.4326, allocations: 5.323 MB / 0.5791 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.4589, allocations: 20.04 MB / 0.5987 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.4633, allocations: 2.007 MB / 0.6007 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.4643, allocations: 0.6875 MB / 0.6013 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006198/0.4706, allocations: 3.612 MB / 0.6048 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4706, allocations: 39 kB / 0.6049 GB, free: 4.656 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.377e-06/0.4706, allocations: 0 / 0.6049 GB, free: 4.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005323/0.476, allocations: 1.977 MB / 0.6068 GB, free: 2.668 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.476, allocations: 63.78 kB / 0.6069 GB, free: 2.594 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.4787, allocations: 1.941 MB / 0.6088 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.4788, allocations: 33.69 kB / 0.6088 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.4799, allocations: 1.836 MB / 0.6106 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.4802, allocations: 312.1 kB / 0.6109 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007249/0.4809, allocations: 0.6189 MB / 0.6115 GB, free: 13.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4811, allocations: 357.9 kB / 0.6118 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.4823, allocations: 0.892 MB / 0.6127 GB, free: 12.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.4847, allocations: 2.747 MB / 0.6154 GB, free: 8.875 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/0.4888, allocations: 3.966 MB / 0.6193 GB, free: 3.984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-05/0.4888, allocations: 20 kB / 0.6193 GB, free: 3.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00529/0.4941, allocations: 3.521 MB / 0.6227 GB, free: 448 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.4942, allocations: 36 kB / 0.6228 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.711e-05/0.4943, allocations: 64 kB / 0.6228 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.654e-05/0.4943, allocations: 96.77 kB / 0.6229 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.4961, allocations: 0.6588 MB / 0.6236 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-05/0.4962, allocations: 131.5 kB / 0.6237 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.498, allocations: 411.6 kB / 0.6241 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.4982, allocations: 192 kB / 0.6243 GB, free: 14.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.001867/0.5001, allocations: 1.334 MB / 0.6256 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.5003, allocations: 161.9 kB / 0.6257 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.5006, allocations: 196.9 kB / 0.6259 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.5007, allocations: 15.94 kB / 0.6259 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5007, allocations: 0 / 0.6259 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5007, allocations: 0 / 0.6259 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.5064, allocations: 4.029 MB / 0.6299 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.5064, allocations: 8 kB / 0.6299 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.5069, allocations: 103.8 kB / 0.63 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.5069, allocations: 8 kB / 0.63 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.5069, allocations: 20 kB / 0.63 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.5069, allocations: 12 kB / 0.63 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.507, allocations: 7.938 kB / 0.63 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.5083, allocations: 1.274 MB / 0.6313 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.5087, allocations: 250.8 kB / 0.6315 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.5089, allocations: 16 kB / 0.6315 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.5097, allocations: 27.89 kB / 0.6315 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5099, allocations: 55.81 kB / 0.6316 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/0.51, allocations: 39.98 kB / 0.6316 GB, free: 7.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001953/0.512, allocations: 1.263 MB / 0.6329 GB, free: 5.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.512, allocations: 0 / 0.6329 GB, free: 5.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5146, allocations: 0.6766 MB / 0.6335 GB, free: 5.098 MB / 494.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 (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.0003256/0.5149, allocations: 146.9 kB / 0.6337 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.5182, allocations: 2.054 MB / 0.6357 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.5182, allocations: 4.125 kB / 0.6357 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.5188, allocations: 465.5 kB / 0.6361 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5202, allocations: 240.5 kB / 0.6363 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.5304, allocations: 5.049 MB / 0.6413 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.533, allocations: 2.271 MB / 0.6435 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002074/0.5351, allocations: 0.9636 MB / 0.6444 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.5354, allocations: 123.4 kB / 0.6445 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/0.5354, allocations: 0 / 0.6445 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.03416/0.5695, allocations: 14.98 MB / 0.6592 GB, free: 10.7 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches