Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8545/0.8545, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.126/0.126, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.013e-05, allocations: 6.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1536/0.1536, allocations: 10.38 MB / 309.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.1603, allocations: 3.107 MB / 312.5 MB, free: 13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009785/0.1612, allocations: 62 kB / 312.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.1639, allocations: 2.163 MB / 314.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.166, allocations: 1.297 MB / 316.1 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.1666, allocations: 320.2 kB / 316.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.169, allocations: 2.388 MB / 318.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.1709, allocations: 1.968 MB / 320.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.1723, allocations: 1.434 MB / 322.2 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1734, allocations: 1.255 MB / 323.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.1737, allocations: 220 kB / 323.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.1744, allocations: 0.663 MB / 324.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.1749, allocations: 1.332 MB / 325.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.1754, allocations: 0.8098 MB / 326.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.1772, allocations: 3.039 MB / 329.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1772, allocations: 0 / 329.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1772, allocations: 0 / 329.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.782e-05/0.1773, allocations: 0 / 329.5 MB, free: 15.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.002733/0.18, allocations: 2.956 MB / 332.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1801, allocations: 8.031 kB / 332.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.1819, allocations: 0.8318 MB / 333.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.1831, allocations: 1.127 MB / 334.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.1832, allocations: 160.4 kB / 334.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1834, allocations: 204.3 kB / 334.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.1865, allocations: 3.131 MB / 337.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.1865, allocations: 15.81 kB / 337.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.1867, allocations: 99.89 kB / 338 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/0.1878, allocations: 1.368 MB / 339.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.1903, allocations: 1.665 MB / 341 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.203, allocations: 16.82 MB / 357.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.2047, allocations: 0.9632 MB / 358.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.205, allocations: 188.6 kB / 359 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/0.208, allocations: 2.409 MB / 361.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.208, allocations: 43.22 kB / 361.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.208, allocations: 0 / 361.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002343/0.2104, allocations: 1.202 MB / 362.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.2104, allocations: 60.06 kB / 362.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2116, allocations: 1.51 MB / 364.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.2117, allocations: 33.7 kB / 364.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008748/0.2126, allocations: 2.017 MB / 366.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.2128, allocations: 388.9 kB / 366.7 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.2132, allocations: 0.628 MB / 367.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2133, allocations: 353.8 kB / 367.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.2137, allocations: 347.2 kB / 368 MB, free: 8.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.2149, allocations: 2.253 MB / 370.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.217, allocations: 2.974 MB / 373.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-05/0.2171, allocations: 20 kB / 373.2 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.001962/0.219, allocations: 2.144 MB / 375.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.2191, allocations: 39.94 kB / 375.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/0.2191, allocations: 72 kB / 375.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.467e-05/0.2192, allocations: 92 kB / 375.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.2202, allocations: 0.7096 MB / 376.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.551e-05/0.2203, allocations: 144 kB / 376.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.2213, allocations: 432.8 kB / 376.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.2214, allocations: 180 kB / 377 MB, free: 13.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.0005926/0.222, allocations: 381.5 kB / 377.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2221, allocations: 115.8 kB / 377.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.2227, allocations: 488.1 kB / 378 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2227, allocations: 12 kB / 378 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.2227, allocations: 0 / 378 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2227, allocations: 7.969 kB / 378 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.2253, allocations: 2.743 MB / 380.7 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.2253, allocations: 12 kB / 380.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.2256, allocations: 131.8 kB / 380.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.2256, allocations: 12 kB / 380.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.2256, allocations: 28.62 kB / 380.9 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.2256, allocations: 23.86 kB / 380.9 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.2256, allocations: 19.94 kB / 381 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.2263, allocations: 0.8777 MB / 381.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2264, allocations: 174.6 kB / 382 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.2265, allocations: 39.5 kB / 382 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2267, allocations: 23.98 kB / 382.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.2268, allocations: 75.66 kB / 382.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.2268, allocations: 36 kB / 382.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004245/0.2272, allocations: 0.5789 MB / 382.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2272, allocations: 3.938 kB / 382.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001624/0.2289, allocations: 0.8018 MB / 383.6 MB, free: 6.121 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002329/0.2291, allocations: 136.1 kB / 383.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.2301, allocations: 1.237 MB / 384.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.386e-05/0.2302, allocations: 51.94 kB / 385 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.2304, allocations: 215.9 kB / 385.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.231, allocations: 217.4 kB / 385.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.2363, allocations: 5.131 MB / 390.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.2374, allocations: 0.8399 MB / 391.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005718/0.238, allocations: 268.2 kB / 391.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.2383, allocations: 299.3 kB / 391.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2383, allocations: 0 / 391.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of Templates: time 0.02448/0.2628, allocations: 13.76 MB / 405.7 MB, free: 15.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4235712117515504]