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.0008245/0.0008245, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003046/0.003046, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.869/0.869, allocations: 177 MB / 204.9 MB, free: 5.695 MB / 186.7 MB " [Timeout remaining time 179] 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.235/0.235, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 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 7.81e-07/7.81e-07, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.251e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1773/0.1773, allocations: 8.424 MB / 451.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.1807, allocations: 2.776 MB / 454.6 MB, free: 37.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004718/0.1812, allocations: 57.69 kB / 454.7 MB, free: 37.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.1829, allocations: 2.039 MB / 456.7 MB, free: 37.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.1841, allocations: 1.169 MB / 457.9 MB, free: 36.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1844, allocations: 314.9 kB / 458.2 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1857, allocations: 2.362 MB / 460.5 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1868, allocations: 1.752 MB / 462.3 MB, free: 34.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.1875, allocations: 1.285 MB / 463.6 MB, free: 34.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006783/0.1881, allocations: 1.137 MB / 464.7 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.1883, allocations: 195 kB / 464.9 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.1888, allocations: 0.6426 MB / 465.6 MB, free: 33.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.1893, allocations: 1.181 MB / 466.7 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.1897, allocations: 0.7135 MB / 467.4 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.1916, allocations: 4.286 MB / 471.7 MB, free: 31.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1916, allocations: 0 / 471.7 MB, free: 31.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1916, allocations: 4.656 kB / 471.7 MB, free: 31.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.1917, allocations: 0 / 471.7 MB, free: 31.35 MB / 410.7 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.002251/0.1939, allocations: 2.827 MB / 474.6 MB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1939, allocations: 9.375 kB / 474.6 MB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.1963, allocations: 1.59 MB / 476.2 MB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.1975, allocations: 1.278 MB / 477.4 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.1976, allocations: 143.1 kB / 477.6 MB, free: 28.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.1977, allocations: 193.5 kB / 477.8 MB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005296/0.203, allocations: 6.254 MB / 484 MB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.2031, allocations: 25.31 kB / 484 MB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.2032, allocations: 87.64 kB / 484.1 MB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001397/0.2046, allocations: 1.34 MB / 485.5 MB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006839/0.2115, allocations: 5.333 MB / 490.8 MB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.2264, allocations: 18.37 MB / 0.4972 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.2291, allocations: 1.569 MB / 0.4988 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.2296, allocations: 0.6366 MB / 0.4994 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00323/0.2329, allocations: 3.113 MB / 0.5024 GB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2329, allocations: 35.06 kB / 0.5025 GB, free: 8.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.765e-06/0.2329, allocations: 0 / 0.5025 GB, free: 8.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002786/0.2357, allocations: 2.116 MB / 0.5045 GB, free: 6.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2357, allocations: 59.91 kB / 0.5046 GB, free: 6.234 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.2371, allocations: 1.939 MB / 0.5065 GB, free: 4.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2371, allocations: 29.7 kB / 0.5065 GB, free: 4.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.2375, allocations: 1.907 MB / 0.5084 GB, free: 2.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2377, allocations: 321.6 kB / 0.5087 GB, free: 2.004 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.2381, allocations: 0.6156 MB / 0.5093 GB, free: 1.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.2381, allocations: 345.9 kB / 0.5096 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.2388, allocations: 0.8842 MB / 0.5105 GB, free: 152 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.2407, allocations: 2.752 MB / 0.5132 GB, free: 12.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.2433, allocations: 3.97 MB / 0.517 GB, free: 7.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.2433, allocations: 20 kB / 0.5171 GB, free: 7.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003308/0.2466, allocations: 3.534 MB / 0.5205 GB, free: 4.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2467, allocations: 37.56 kB / 0.5205 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/0.2467, allocations: 64 kB / 0.5206 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.367e-05/0.2468, allocations: 88 kB / 0.5207 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.2478, allocations: 0.6511 MB / 0.5213 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-05/0.2478, allocations: 133.1 kB / 0.5215 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009726/0.2488, allocations: 416.9 kB / 0.5219 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.2489, allocations: 188.1 kB / 0.522 GB, free: 2.449 MB / 426.7 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.001373/0.2503, allocations: 1.351 MB / 0.5234 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2504, allocations: 158.9 kB / 0.5235 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.2506, allocations: 188 kB / 0.5237 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2506, allocations: 8 kB / 0.5237 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2506, allocations: 0 / 0.5237 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2506, allocations: 3.984 kB / 0.5237 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.254, allocations: 3.088 MB / 0.5267 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.254, allocations: 8 kB / 0.5267 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2542, allocations: 103.8 kB / 0.5268 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2543, allocations: 12 kB / 0.5268 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2543, allocations: 16 kB / 0.5268 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.2543, allocations: 15.92 kB / 0.5269 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.2543, allocations: 11.94 kB / 0.5269 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.2552, allocations: 1.238 MB / 0.5281 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2553, allocations: 154.8 kB / 0.5282 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.2554, allocations: 16 kB / 0.5282 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2556, allocations: 27.98 kB / 0.5283 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.2556, allocations: 55.73 kB / 0.5283 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.2557, allocations: 31.94 kB / 0.5284 GB, free: 11.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008827/0.2565, allocations: 1.118 MB / 0.5294 GB, free: 10.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2565, allocations: 0 / 0.5294 GB, free: 10.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001476/0.258, allocations: 0.7083 MB / 0.5301 GB, free: 9.902 MB / 442.7 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.0002531/0.2583, allocations: 152.3 kB / 0.5303 GB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.2599, allocations: 1.954 MB / 0.5322 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2599, allocations: 5.938 kB / 0.5322 GB, free: 7.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.2602, allocations: 433.5 kB / 0.5326 GB, free: 7.383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.2608, allocations: 178.2 kB / 0.5328 GB, free: 7.211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.2658, allocations: 5.392 MB / 0.538 GB, free: 1.695 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.2672, allocations: 1.712 MB / 0.5397 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.2674, allocations: 140.5 kB / 0.5398 GB, free: 15.81 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2674, allocations: 0 / 0.5398 GB, free: 15.81 MB / 458.7 MB Notification: Performance of Templates: time 0.02435/0.2917, allocations: 30.05 MB / 0.5692 GB, free: 1.844 MB / 474.7 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.8123784866184]