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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 34.25 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.88 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3285, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007916/0.3365, allocations: 8.409 MB / 0.5055 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.3415, allocations: 2.795 MB / 0.5082 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.3429, allocations: 56.56 kB / 0.5083 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.3459, allocations: 1.926 MB / 0.5101 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.3482, allocations: 1.145 MB / 0.5113 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.3488, allocations: 295.3 kB / 0.5115 GB, free: 21.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.3516, allocations: 2.318 MB / 0.5138 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.3535, allocations: 1.728 MB / 0.5155 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3547, allocations: 0.8892 MB / 0.5164 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.3563, allocations: 1.179 MB / 0.5175 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.3567, allocations: 194.8 kB / 0.5177 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.3579, allocations: 0.6057 MB / 0.5183 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009925/0.3589, allocations: 1.136 MB / 0.5194 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009124/0.3598, allocations: 0.9461 MB / 0.5203 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.3648, allocations: 4.347 MB / 0.5246 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3648, allocations: 1.406 kB / 0.5246 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3648, allocations: 0 / 0.5246 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.3649, allocations: 0 / 0.5246 GB, free: 15.93 MB / 446.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.005789/0.3707, allocations: 2.866 MB / 0.5274 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3707, allocations: 10.72 kB / 0.5274 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/0.3766, allocations: 1.593 MB / 0.5289 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.3799, allocations: 1.284 MB / 0.5302 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.38, allocations: 143.7 kB / 0.5303 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.3805, allocations: 191 kB / 0.5305 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.3911, allocations: 6.262 MB / 0.5366 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.058e-05/0.3911, allocations: 13.5 kB / 0.5366 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.3914, allocations: 85.84 kB / 0.5367 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/0.3934, allocations: 1.345 MB / 0.538 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009965/0.4034, allocations: 5.337 MB / 0.5432 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02978/0.4331, allocations: 18.4 MB / 0.5612 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.4376, allocations: 1.566 MB / 0.5627 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.4387, allocations: 0.6447 MB / 0.5634 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006975/0.4457, allocations: 3.113 MB / 0.5664 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.4457, allocations: 43 kB / 0.5664 GB, free: 13.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.806e-06/0.4457, allocations: 0 / 0.5664 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005849/0.4516, allocations: 2.104 MB / 0.5685 GB, free: 11.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4516, allocations: 63.91 kB / 0.5686 GB, free: 11.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.4549, allocations: 1.931 MB / 0.5704 GB, free: 9.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.4549, allocations: 37.69 kB / 0.5705 GB, free: 9.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.4565, allocations: 1.923 MB / 0.5724 GB, free: 7.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.4569, allocations: 325.5 kB / 0.5727 GB, free: 7.246 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009362/0.4578, allocations: 0.6234 MB / 0.5733 GB, free: 6.613 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.458, allocations: 345.9 kB / 0.5736 GB, free: 6.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4595, allocations: 0.888 MB / 0.5745 GB, free: 5.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.4626, allocations: 2.751 MB / 0.5772 GB, free: 1.695 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/0.4676, allocations: 3.969 MB / 0.581 GB, free: 12.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.911e-05/0.4677, allocations: 24 kB / 0.5811 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006209/0.4739, allocations: 3.524 MB / 0.5845 GB, free: 9.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.474, allocations: 36.19 kB / 0.5845 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.206e-05/0.4741, allocations: 68 kB / 0.5846 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4742, allocations: 88 kB / 0.5847 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.4762, allocations: 0.6511 MB / 0.5853 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001374/0.4763, allocations: 135.4 kB / 0.5855 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.4784, allocations: 416.9 kB / 0.5859 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.4787, allocations: 184 kB / 0.586 GB, free: 7.68 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.002671/0.4814, allocations: 1.35 MB / 0.5873 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.4818, allocations: 158.9 kB / 0.5875 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.4822, allocations: 188 kB / 0.5877 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.4822, allocations: 8 kB / 0.5877 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4822, allocations: 3.938 kB / 0.5877 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4822, allocations: 3.984 kB / 0.5877 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/0.4898, allocations: 3.083 MB / 0.5907 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.4898, allocations: 8.156 kB / 0.5907 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.4902, allocations: 103.8 kB / 0.5908 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/0.4903, allocations: 15.94 kB / 0.5908 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.4903, allocations: 16 kB / 0.5908 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.4903, allocations: 15.92 kB / 0.5909 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.4903, allocations: 11.94 kB / 0.5909 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.4921, allocations: 1.25 MB / 0.5921 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.4926, allocations: 158.8 kB / 0.5922 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.4929, allocations: 19.88 kB / 0.5923 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.4935, allocations: 31.97 kB / 0.5923 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4936, allocations: 55.8 kB / 0.5923 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.4937, allocations: 32 kB / 0.5924 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002239/0.4959, allocations: 1.11 MB / 0.5935 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4959, allocations: 4 kB / 0.5935 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003292/0.4992, allocations: 0.7006 MB / 0.5941 GB, free: 15.13 MB / 0.4981 GB 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.0004379/0.4997, allocations: 150.9 kB / 0.5943 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003326/0.503, allocations: 1.952 MB / 0.5962 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.503, allocations: 0 / 0.5962 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.5037, allocations: 442.8 kB / 0.5966 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5049, allocations: 188.7 kB / 0.5968 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009872/0.5148, allocations: 5.099 MB / 0.6018 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/0.5179, allocations: 1.712 MB / 0.6034 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002265/0.5201, allocations: 0.9429 MB / 0.6044 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.5205, allocations: 112.5 kB / 0.6045 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.5205, allocations: 0 / 0.6045 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Templates: time 0.03009/0.5506, allocations: 11.58 MB / 0.6158 GB, free: 8.988 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.658642430906184]