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.001131/0.001131, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001356/0.001356, allocations: 165 kB / 24.56 MB, free: 8 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.9616/0.9616, allocations: 177.2 MB / 205 MB, free: 5.578 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.2563/0.2563, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.743e-06/1.743e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.38e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01187/0.01189, allocations: 14.43 MB / 392.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008646/0.02054, allocations: 4.933 MB / 397.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.0225, allocations: 119.4 kB / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.0269, allocations: 4.314 MB / 401.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.03187, allocations: 2.48 MB / 404.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.0337, allocations: 1.306 MB / 405.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006859/0.04056, allocations: 7.352 MB / 413 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004452/0.04501, allocations: 4.431 MB / 417.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.04957, allocations: 3.333 MB / 420.8 MB, free: 7.711 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/0.05329, allocations: 3.34 MB / 424.1 MB, free: 4.363 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009522/0.05424, allocations: 468 kB / 424.6 MB, free: 3.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.05659, allocations: 1.498 MB / 426.1 MB, free: 2.406 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.05901, allocations: 2.926 MB / 429 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.06166, allocations: 1.784 MB / 430.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008126/0.06979, allocations: 6.306 MB / 437.1 MB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.06979, allocations: 0 / 437.1 MB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06979, allocations: 0 / 437.1 MB, free: 7.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002587/0.07005, allocations: 4 kB / 437.1 MB, free: 7.352 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.1719/0.2419, allocations: 7.312 MB / 444.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.242, allocations: 8.156 kB / 444.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.2584, allocations: 3.934 MB / 448.3 MB, free: 92.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/0.2645, allocations: 3.73 MB / 452.1 MB, free: 91.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.2647, allocations: 308.8 kB / 452.4 MB, free: 91.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/0.2653, allocations: 426.8 kB / 452.8 MB, free: 91.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.2777, allocations: 8.735 MB / 461.5 MB, free: 87.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.2778, allocations: 61.73 kB / 461.6 MB, free: 87.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004136/0.2782, allocations: 195.5 kB / 461.8 MB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/0.2809, allocations: 2.524 MB / 464.3 MB, free: 87.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.2923, allocations: 4.934 MB / 469.2 MB, free: 86.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/0.3266, allocations: 55.65 MB / 0.5126 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/0.3341, allocations: 3.567 MB / 0.516 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.3355, allocations: 1.212 MB / 0.5172 GB, free: 38.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008725/0.3442, allocations: 8.82 MB / 0.5258 GB, free: 30.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3443, allocations: 75.25 kB / 0.5259 GB, free: 30.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 3.657e-06/0.3443, allocations: 0 / 0.5259 GB, free: 30.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03606/0.3803, allocations: 20.47 MB / 0.5459 GB, free: 9.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.3804, allocations: 265.2 kB / 0.5462 GB, free: 9.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/0.385, allocations: 4.341 MB / 0.5504 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004595/0.3855, allocations: 69.7 kB / 0.5505 GB, free: 5.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.387, allocations: 4.23 MB / 0.5546 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009488/0.388, allocations: 1.077 MB / 0.5556 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/0.3899, allocations: 1.628 MB / 0.5572 GB, free: 14.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.39, allocations: 480.7 kB / 0.5577 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.3919, allocations: 1.005 MB / 0.5587 GB, free: 12.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.3968, allocations: 7.486 MB / 0.566 GB, free: 2.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008491/0.4053, allocations: 9.252 MB / 0.575 GB, free: 6.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/0.4054, allocations: 48 kB / 0.5751 GB, free: 6.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01337/0.4188, allocations: 7.262 MB / 0.5822 GB, free: 14.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.901e-05/0.4189, allocations: 72 kB / 0.5822 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/0.419, allocations: 148 kB / 0.5824 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.4209, allocations: 0.8211 MB / 0.5832 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/0.4249, allocations: 1.833 MB / 0.585 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006501/0.4314, allocations: 5.776 MB / 0.5906 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/0.4379, allocations: 499.3 kB / 0.5911 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/0.4396, allocations: 449.7 kB / 0.5915 GB, free: 5.148 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (951): * Single equations (assignments): 946 * 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 {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004049/0.4437, allocations: 0.7752 MB / 0.5923 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002668/0.4464, allocations: 0.5087 MB / 0.5928 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/0.4521, allocations: 2.662 MB / 0.5954 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/0.4521, allocations: 28 kB / 0.5954 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4521, allocations: 4 kB / 0.5954 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4521, allocations: 15.95 kB / 0.5954 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.4647, allocations: 7.474 MB / 0.6027 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4647, allocations: 0 / 0.6027 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.4662, allocations: 0.4993 MB / 0.6032 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.4677, allocations: 0.5843 MB / 0.6038 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.4678, allocations: 44 kB / 0.6038 GB, free: 8.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/0.4722, allocations: 5.312 MB / 0.609 GB, free: 2.961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4722, allocations: 8.031 kB / 0.609 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1978/0.67, allocations: 3.875 MB / 0.6128 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6713, allocations: 433.4 kB / 0.6132 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007614/0.6721, allocations: 41.88 kB / 0.6132 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6737, allocations: 237.6 kB / 0.6135 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/0.674, allocations: 154.8 kB / 0.6136 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.6742, allocations: 73.83 kB / 0.6137 GB, free: 132.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002741/0.6769, allocations: 1.899 MB / 0.6155 GB, free: 131.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6769, allocations: 0 / 0.6155 GB, free: 131.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004926/0.6818, allocations: 1.484 MB / 0.617 GB, free: 131.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (227): * Single equations (assignments): 222 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005021/0.6823, allocations: 196.9 kB / 0.6172 GB, free: 131.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006039/0.6884, allocations: 4.281 MB / 0.6214 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6884, allocations: 0 / 0.6214 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.6899, allocations: 1.37 MB / 0.6227 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.6921, allocations: 0.5377 MB / 0.6232 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.7057, allocations: 10.27 MB / 0.6332 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.7075, allocations: 1.641 MB / 0.6349 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003495/0.711, allocations: 1.952 MB / 0.6368 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.712, allocations: 307.2 kB / 0.637 GB, free: 126.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.924e-06/0.712, allocations: 0 / 0.637 GB, free: 126.8 MB / 474.7 MB Notification: Performance of Templates: time 0.06714/0.7791, allocations: 45.72 MB / 0.6817 GB, free: 102.3 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: 5.065199344884604]