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.001396/0.001396, allocations: 86.48 kB / 20.68 MB, free: 1.035 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.00171/0.00171, allocations: 158.7 kB / 23.95 MB, free: 4.168 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.509/1.509, allocations: 177 MB / 204.1 MB, free: 9.168 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.2127/0.2127, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] 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 1.263e-06/1.263e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.578e-05, allocations: 6.219 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1947/0.1948, allocations: 8.418 MB / 451.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.2001, allocations: 2.781 MB / 453.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008038/0.2009, allocations: 55.81 kB / 453.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.2044, allocations: 2.047 MB / 455.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.2069, allocations: 1.164 MB / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.2076, allocations: 318.3 kB / 457.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.2106, allocations: 2.367 MB / 459.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.2127, allocations: 1.75 MB / 461.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.2143, allocations: 1.282 MB / 462.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.2159, allocations: 1.141 MB / 464 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.2162, allocations: 194.3 kB / 464.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.2174, allocations: 0.6472 MB / 464.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009076/0.2183, allocations: 1.175 MB / 466 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007694/0.2191, allocations: 0.712 MB / 466.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.2226, allocations: 4.285 MB / 471 MB, free: 5.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2226, allocations: 5.125 kB / 471 MB, free: 5.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2226, allocations: 0 / 471 MB, free: 5.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.019e-05/0.2227, allocations: 0 / 471 MB, free: 5.816 MB / 366.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.004227/0.2269, allocations: 2.83 MB / 473.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.227, allocations: 10.84 kB / 473.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.232, allocations: 1.598 MB / 475.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.2343, allocations: 1.279 MB / 476.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.2344, allocations: 144 kB / 476.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.2347, allocations: 184.9 kB / 477 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008793/0.2435, allocations: 6.258 MB / 483.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.2436, allocations: 15.81 kB / 483.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.2438, allocations: 87.91 kB / 483.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.246, allocations: 1.342 MB / 484.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009765/0.2558, allocations: 5.338 MB / 490 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/0.2825, allocations: 18.36 MB / 0.4965 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.2867, allocations: 1.578 MB / 0.498 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.2877, allocations: 0.6385 MB / 0.4987 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006613/0.2943, allocations: 3.111 MB / 0.5017 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.2944, allocations: 43.94 kB / 0.5017 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/0.2944, allocations: 0 / 0.5017 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005899/0.3003, allocations: 2.108 MB / 0.5038 GB, free: 11.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3003, allocations: 55.91 kB / 0.5038 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.3031, allocations: 1.935 MB / 0.5057 GB, free: 9.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.3032, allocations: 41.64 kB / 0.5058 GB, free: 9.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.3047, allocations: 1.899 MB / 0.5076 GB, free: 7.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.305, allocations: 329.5 kB / 0.5079 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008561/0.3059, allocations: 0.6156 MB / 0.5085 GB, free: 6.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.306, allocations: 345.9 kB / 0.5089 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.3074, allocations: 0.8842 MB / 0.5097 GB, free: 5.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/0.3103, allocations: 2.751 MB / 0.5124 GB, free: 1.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.3151, allocations: 3.969 MB / 0.5163 GB, free: 13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.615e-05/0.3151, allocations: 24 kB / 0.5163 GB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005787/0.3209, allocations: 3.519 MB / 0.5198 GB, free: 9.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.321, allocations: 36.97 kB / 0.5198 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.888e-05/0.321, allocations: 64.88 kB / 0.5199 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.654e-05/0.3211, allocations: 92 kB / 0.5199 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.3231, allocations: 0.6511 MB / 0.5206 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001115/0.3232, allocations: 131.5 kB / 0.5207 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.3252, allocations: 420.9 kB / 0.5211 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.3254, allocations: 180 kB / 0.5213 GB, free: 7.891 MB / 430.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.002266/0.3277, allocations: 1.35 MB / 0.5226 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.3279, allocations: 154.9 kB / 0.5227 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.3283, allocations: 193 kB / 0.5229 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.3283, allocations: 8 kB / 0.5229 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3283, allocations: 0 / 0.5229 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3283, allocations: 7.969 kB / 0.5229 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.334, allocations: 3.079 MB / 0.526 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.334, allocations: 8.844 kB / 0.526 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.3344, allocations: 103.8 kB / 0.5261 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.3344, allocations: 16 kB / 0.5261 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.3345, allocations: 27.8 kB / 0.5261 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.3345, allocations: 11.98 kB / 0.5261 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.3345, allocations: 15.88 kB / 0.5261 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.3361, allocations: 1.238 MB / 0.5273 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.3364, allocations: 162.7 kB / 0.5275 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.3366, allocations: 16 kB / 0.5275 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.337, allocations: 27.98 kB / 0.5275 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3371, allocations: 59.73 kB / 0.5276 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.3372, allocations: 28 kB / 0.5276 GB, free: 1.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001658/0.3389, allocations: 1.114 MB / 0.5287 GB, free: 48 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3389, allocations: 3.938 kB / 0.5287 GB, free: 44 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.00287/0.3417, allocations: 0.7123 MB / 0.5294 GB, free: 15.32 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 (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.0003603/0.3421, allocations: 142.9 kB / 0.5295 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.3453, allocations: 1.956 MB / 0.5315 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.3453, allocations: 4 kB / 0.5315 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.3459, allocations: 429.8 kB / 0.5319 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.3471, allocations: 188.8 kB / 0.532 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008598/0.3557, allocations: 5.07 MB / 0.537 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/0.3579, allocations: 1.708 MB / 0.5387 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002043/0.36, allocations: 0.9429 MB / 0.5396 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.3602, allocations: 112.5 kB / 0.5397 GB, free: 4.637 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3602, allocations: 0 / 0.5397 GB, free: 4.637 MB / 446.1 MB Notification: Performance of Templates: time 0.02677/0.387, allocations: 11.55 MB / 0.551 GB, free: 9.273 MB / 462.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.469568736851215]