Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001081/0.001081, 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.00669/0.00669, allocations: 160.6 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.9072/0.9072, allocations: 177 MB / 204.9 MB, free: 5.715 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.2453/0.2453, allocations: 34.24 MB / 295.6 MB, free: 0.6602 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 4 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.994e-05, allocations: 6.219 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1598/0.1599, allocations: 8.412 MB / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.1634, allocations: 2.775 MB / 454.6 MB, free: 37.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.1641, allocations: 60.59 kB / 454.7 MB, free: 37.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.1658, allocations: 2.043 MB / 456.7 MB, free: 37.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.1672, allocations: 1.164 MB / 457.9 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1676, allocations: 321.1 kB / 458.2 MB, free: 36.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.1692, allocations: 2.355 MB / 460.5 MB, free: 35.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.1704, allocations: 1.75 MB / 462.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1715, allocations: 1.283 MB / 463.6 MB, free: 34.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009256/0.1724, allocations: 1.139 MB / 464.7 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.1726, allocations: 195.1 kB / 464.9 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.1732, allocations: 0.6439 MB / 465.5 MB, free: 33.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004839/0.1737, allocations: 1.18 MB / 466.7 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.1741, allocations: 0.7202 MB / 467.4 MB, free: 32.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.176, allocations: 4.281 MB / 471.7 MB, free: 31.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.176, allocations: 0 / 471.7 MB, free: 31.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.176, allocations: 0 / 471.7 MB, free: 31.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.176, allocations: 0 / 471.7 MB, free: 31.41 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.002197/0.1782, allocations: 2.828 MB / 474.6 MB, free: 29.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1783, allocations: 9.719 kB / 474.6 MB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.1806, allocations: 1.594 MB / 476.2 MB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1818, allocations: 1.277 MB / 477.4 MB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.1818, allocations: 144.3 kB / 477.6 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.182, allocations: 186.4 kB / 477.8 MB, free: 28.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005054/0.1871, allocations: 6.263 MB / 484 MB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.1871, allocations: 23.56 kB / 484 MB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.1873, allocations: 87.22 kB / 484.1 MB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.1886, allocations: 1.34 MB / 485.5 MB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/0.1949, allocations: 5.338 MB / 490.8 MB, free: 23.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.208, allocations: 18.36 MB / 0.4972 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.2102, allocations: 1.569 MB / 0.4988 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.2108, allocations: 0.6353 MB / 0.4994 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003107/0.2139, allocations: 3.117 MB / 0.5024 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.2139, allocations: 39.06 kB / 0.5025 GB, free: 8.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.285e-06/0.2139, allocations: 0 / 0.5025 GB, free: 8.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002699/0.2166, allocations: 2.108 MB / 0.5045 GB, free: 6.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2167, allocations: 59.91 kB / 0.5046 GB, free: 6.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2179, allocations: 1.939 MB / 0.5065 GB, free: 4.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2179, allocations: 33.7 kB / 0.5065 GB, free: 4.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.2183, allocations: 1.911 MB / 0.5084 GB, free: 2.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.2184, allocations: 317.6 kB / 0.5087 GB, free: 2.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.2188, allocations: 0.6116 MB / 0.5093 GB, free: 1.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.2188, allocations: 357.8 kB / 0.5096 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.2195, allocations: 0.8842 MB / 0.5105 GB, free: 192 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.2211, allocations: 2.755 MB / 0.5132 GB, free: 12.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.2241, allocations: 3.965 MB / 0.517 GB, free: 7.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.2241, allocations: 20 kB / 0.5171 GB, free: 7.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003263/0.2274, allocations: 3.523 MB / 0.5205 GB, free: 4.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2274, allocations: 33.88 kB / 0.5205 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/0.2275, allocations: 68 kB / 0.5206 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-05/0.2275, allocations: 84 kB / 0.5207 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.2285, allocations: 0.6589 MB / 0.5213 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.594e-05/0.2285, allocations: 129.1 kB / 0.5214 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/0.2294, allocations: 417.1 kB / 0.5218 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.2296, allocations: 196 kB / 0.522 GB, free: 2.492 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.001203/0.2308, allocations: 1.342 MB / 0.5233 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2309, allocations: 158.9 kB / 0.5235 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.231, allocations: 188 kB / 0.5237 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.231, allocations: 12 kB / 0.5237 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2311, allocations: 0 / 0.5237 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2311, allocations: 0 / 0.5237 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.234, allocations: 3.095 MB / 0.5267 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.234, allocations: 8 kB / 0.5267 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.2342, allocations: 103.8 kB / 0.5268 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2342, allocations: 8 kB / 0.5268 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.2342, allocations: 16 kB / 0.5268 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.2342, allocations: 15.92 kB / 0.5269 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.2342, allocations: 11.94 kB / 0.5269 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2354, allocations: 1.235 MB / 0.5281 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2355, allocations: 154.7 kB / 0.5282 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/0.2356, allocations: 23.98 kB / 0.5282 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2358, allocations: 19.98 kB / 0.5283 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.2359, allocations: 63.73 kB / 0.5283 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.2359, allocations: 31.98 kB / 0.5284 GB, free: 11.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008627/0.2367, allocations: 1.114 MB / 0.5294 GB, free: 10.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2367, allocations: 0 / 0.5294 GB, free: 10.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001372/0.2381, allocations: 0.7161 MB / 0.5301 GB, free: 9.941 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.0002295/0.2383, allocations: 140.7 kB / 0.5303 GB, free: 9.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.2399, allocations: 1.963 MB / 0.5322 GB, free: 7.852 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2399, allocations: 0 / 0.5322 GB, free: 7.852 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.2402, allocations: 437.4 kB / 0.5326 GB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.2409, allocations: 181.1 kB / 0.5328 GB, free: 7.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.2458, allocations: 5.396 MB / 0.538 GB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.2471, allocations: 1.708 MB / 0.5397 GB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.2473, allocations: 140.5 kB / 0.5399 GB, free: 15.86 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2473, allocations: 0 / 0.5399 GB, free: 15.86 MB / 458.7 MB Notification: Performance of Templates: time 0.02514/0.2725, allocations: 30.06 MB / 0.5692 GB, free: 1.879 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 6.243450446054339]