Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.001417/0.001417, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001574/0.001574, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8959/0.8959, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.228/0.228, allocations: 34.25 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 3.938 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.333e-05, allocations: 2.312 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01489/0.01491, allocations: 14.44 MB / 392.5 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007779/0.02269, allocations: 4.921 MB / 397.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.02456, allocations: 123.4 kB / 397.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.02889, allocations: 4.314 MB / 401.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.03313, allocations: 2.488 MB / 404.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.03506, allocations: 1.302 MB / 405.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006756/0.04182, allocations: 7.345 MB / 413 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004788/0.04661, allocations: 4.435 MB / 417.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005519/0.05213, allocations: 4.37 MB / 421.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.05601, allocations: 3.293 MB / 425.1 MB, free: 3.406 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.05713, allocations: 472 kB / 425.5 MB, free: 2.945 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.05941, allocations: 1.474 MB / 427 MB, free: 1.469 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.06153, allocations: 2.918 MB / 429.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002774/0.06431, allocations: 1.78 MB / 431.7 MB, free: 12.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.07047, allocations: 6.283 MB / 438 MB, free: 6.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.07047, allocations: 0 / 438 MB, free: 6.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.07047, allocations: 0 / 438 MB, free: 6.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000236/0.07071, allocations: 4 kB / 438 MB, free: 6.449 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.1486/0.2193, allocations: 7.345 MB / 445.4 MB, free: 92.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.2193, allocations: 8.875 kB / 445.4 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.2314, allocations: 3.844 MB / 449.2 MB, free: 92.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/0.2354, allocations: 3.391 MB / 452.6 MB, free: 91.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.2355, allocations: 314.9 kB / 452.9 MB, free: 91.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004931/0.236, allocations: 427.8 kB / 453.3 MB, free: 91.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.2463, allocations: 8.733 MB / 462.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.2464, allocations: 48.48 kB / 462.1 MB, free: 87.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.2468, allocations: 205 kB / 462.3 MB, free: 87.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.2485, allocations: 2.413 MB / 464.7 MB, free: 86.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008998/0.2575, allocations: 4.752 MB / 469.5 MB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.2898, allocations: 55.69 MB / 0.5128 GB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/0.2969, allocations: 3.329 MB / 0.5161 GB, free: 38.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.298, allocations: 0.9858 MB / 0.5171 GB, free: 38.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006955/0.305, allocations: 6.904 MB / 0.5238 GB, free: 32.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.305, allocations: 64.8 kB / 0.5239 GB, free: 32.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.937e-06/0.305, allocations: 3.391 kB / 0.5239 GB, free: 32.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.0264/0.3314, allocations: 14.97 MB / 0.5385 GB, free: 17.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.3315, allocations: 257.3 kB / 0.5387 GB, free: 17.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.3352, allocations: 4.542 MB / 0.5432 GB, free: 12.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.3353, allocations: 61.7 kB / 0.5432 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.3367, allocations: 4.375 MB / 0.5475 GB, free: 8.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.3373, allocations: 0.9247 MB / 0.5484 GB, free: 7.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.3384, allocations: 1.632 MB / 0.55 GB, free: 5.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.3384, allocations: 480.8 kB / 0.5505 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.3395, allocations: 0.8426 MB / 0.5513 GB, free: 4.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/0.3436, allocations: 7.765 MB / 0.5589 GB, free: 9.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/0.351, allocations: 9.381 MB / 0.568 GB, free: 13.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/0.3511, allocations: 44 kB / 0.5681 GB, free: 12.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.008817/0.3599, allocations: 6.577 MB / 0.5745 GB, free: 6.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.36, allocations: 76.97 kB / 0.5746 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.3601, allocations: 160 kB / 0.5747 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.3606, allocations: 295.2 kB / 0.575 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.3638, allocations: 1.872 MB / 0.5768 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.3658, allocations: 3.822 MB / 0.5806 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.3687, allocations: 0.4955 MB / 0.581 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/0.3691, allocations: 456 kB / 0.5815 GB, free: 14.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (976): * Single equations (assignments): 971 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001238/0.3703, allocations: 0.8053 MB / 0.5823 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.3708, allocations: 0.4971 MB / 0.5827 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.3726, allocations: 1.563 MB / 0.5843 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.3726, allocations: 20 kB / 0.5843 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3726, allocations: 7.938 kB / 0.5843 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.3726, allocations: 11.95 kB / 0.5843 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008367/0.381, allocations: 6.437 MB / 0.5906 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.381, allocations: 4 kB / 0.5906 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.3821, allocations: 470.8 kB / 0.591 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/0.3823, allocations: 91.52 kB / 0.5911 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.3824, allocations: 43.98 kB / 0.5912 GB, free: 4.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.384, allocations: 3.521 MB / 0.5946 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.384, allocations: 7.938 kB / 0.5946 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.3871, allocations: 2.891 MB / 0.5974 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.3877, allocations: 432.9 kB / 0.5979 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.388, allocations: 47.98 kB / 0.5979 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.389, allocations: 187.7 kB / 0.5981 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.3891, allocations: 136.9 kB / 0.5982 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/0.3892, allocations: 60 kB / 0.5983 GB, free: 13.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002209/0.3914, allocations: 1.973 MB / 0.6002 GB, free: 11.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3914, allocations: 4 kB / 0.6002 GB, free: 11.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004335/0.3958, allocations: 1.301 MB / 0.6015 GB, free: 10 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (201): * Single equations (assignments): 196 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004717/0.3962, allocations: 197.6 kB / 0.6017 GB, free: 9.801 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004964/0.4012, allocations: 3.815 MB / 0.6054 GB, free: 5.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4012, allocations: 4.5 kB / 0.6054 GB, free: 5.977 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.4023, allocations: 1.035 MB / 0.6064 GB, free: 4.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.4041, allocations: 0.5416 MB / 0.6069 GB, free: 4.391 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1444/0.5485, allocations: 9.894 MB / 0.6166 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.5496, allocations: 1.612 MB / 0.6182 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00287/0.5525, allocations: 1.967 MB / 0.6201 GB, free: 134 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/0.5531, allocations: 299.8 kB / 0.6204 GB, free: 134 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/0.5531, allocations: 2 kB / 0.6204 GB, free: 134 MB / 474.7 MB Notification: Performance of Templates: time 0.05285/0.6059, allocations: 37.16 MB / 0.6567 GB, free: 125.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.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: 4.573777451645583]