Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001312/0.001312, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001297/0.001297, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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.9654/0.9654, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2555/0.2555, allocations: 32.8 MB / 294.6 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.137e-05/4.408e-05, allocations: 3.672 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01465/0.01469, allocations: 14.14 MB / 337.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009573/0.02426, allocations: 5.103 MB / 342.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.02656, allocations: 119.4 kB / 342.6 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.03105, allocations: 4.224 MB / 346.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.03633, allocations: 2.5 MB / 349.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.03831, allocations: 1.298 MB / 350.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007191/0.0455, allocations: 7.323 MB / 358 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004313/0.04981, allocations: 4.322 MB / 362.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005042/0.05485, allocations: 4.289 MB / 366.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.05881, allocations: 3.149 MB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008522/0.05967, allocations: 464 kB / 370.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.06169, allocations: 1.525 MB / 371.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.06371, allocations: 2.918 MB / 374.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.06559, allocations: 1.78 MB / 376.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006638/0.07223, allocations: 6.287 MB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.07223, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07223, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001962/0.07243, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.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.008164/0.0806, allocations: 6.225 MB / 388.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.08063, allocations: 8.031 kB / 388.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.08471, allocations: 1.437 MB / 390.4 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.08902, allocations: 2.822 MB / 393.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.08918, allocations: 308.4 kB / 393.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005827/0.08976, allocations: 424.3 kB / 393.9 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009199/0.09896, allocations: 6.886 MB / 400.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.09908, allocations: 59.48 kB / 400.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.09942, allocations: 195.8 kB / 401.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.1012, allocations: 2.274 MB / 403.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007465/0.1087, allocations: 3.473 MB / 406.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2157/0.3244, allocations: 40.19 MB / 447 MB, free: 83.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006534/0.331, allocations: 2.987 MB / 450 MB, free: 83.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009683/0.3319, allocations: 0.6829 MB / 450.7 MB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008202/0.3401, allocations: 6.107 MB / 456.8 MB, free: 82.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3402, allocations: 62.12 kB / 456.8 MB, free: 82.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.499e-06/0.3402, allocations: 0 / 456.8 MB, free: 82.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02547/0.3656, allocations: 8.837 MB / 465.7 MB, free: 80.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.3657, allocations: 260.5 kB / 465.9 MB, free: 80.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/0.3694, allocations: 4.069 MB / 470 MB, free: 77.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.3696, allocations: 61.02 kB / 470 MB, free: 77.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.371, allocations: 3.869 MB / 473.9 MB, free: 74.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.3715, allocations: 0.8914 MB / 474.8 MB, free: 73.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.3728, allocations: 1.447 MB / 476.3 MB, free: 72.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.263e-05/0.3729, allocations: 309.1 kB / 476.6 MB, free: 72.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.3746, allocations: 0.955 MB / 477.5 MB, free: 71.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.3774, allocations: 5.51 MB / 483 MB, free: 63.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.3827, allocations: 7.045 MB / 490.1 MB, free: 54.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.14e-05/0.3828, allocations: 48 kB / 490.1 MB, free: 54.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.006921/0.3897, allocations: 5.152 MB / 495.3 MB, free: 49.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.3898, allocations: 72 kB / 495.3 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.3899, allocations: 166.6 kB / 495.5 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/0.3904, allocations: 296 kB / 495.8 MB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/0.3944, allocations: 1.864 MB / 497.6 MB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.3958, allocations: 2.737 MB / 0.4887 GB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/0.4002, allocations: 323.8 kB / 0.489 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/0.4007, allocations: 396 kB / 0.4893 GB, free: 43.55 MB / 410.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.001735/0.4024, allocations: 0.7561 MB / 0.4901 GB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000632/0.403, allocations: 295.7 kB / 0.4904 GB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.4046, allocations: 1.211 MB / 0.4915 GB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.4046, allocations: 24 kB / 0.4916 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4046, allocations: 0 / 0.4916 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4046, allocations: 7.969 kB / 0.4916 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/0.4117, allocations: 5.169 MB / 0.4966 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.4117, allocations: 4 kB / 0.4966 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4128, allocations: 422.8 kB / 0.497 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.4132, allocations: 296.7 kB / 0.4973 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.4134, allocations: 43.97 kB / 0.4974 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008447/0.4142, allocations: 2.431 MB / 0.4997 GB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4142, allocations: 11.94 kB / 0.4997 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.4164, allocations: 2.182 MB / 0.5019 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.417, allocations: 405 kB / 0.5023 GB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.4173, allocations: 43.98 kB / 0.5023 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.4181, allocations: 60.05 kB / 0.5024 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.4183, allocations: 136.9 kB / 0.5025 GB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.4184, allocations: 50.17 kB / 0.5025 GB, free: 29.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.4196, allocations: 1.531 MB / 0.504 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4196, allocations: 0 / 0.504 GB, free: 28.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003808/0.4234, allocations: 1.301 MB / 0.5053 GB, free: 26.72 MB / 410.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.0003436/0.4238, allocations: 191.2 kB / 0.5055 GB, free: 26.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.4271, allocations: 3.192 MB / 0.5086 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001569/0.4273, allocations: 108.2 kB / 0.5087 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.428, allocations: 0.7613 MB / 0.5094 GB, free: 22.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.4306, allocations: 0.8086 MB / 0.5102 GB, free: 21.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.4429, allocations: 9.696 MB / 0.5197 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.4443, allocations: 1.599 MB / 0.5213 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002076/0.4464, allocations: 0.6466 MB / 0.5219 GB, free: 9.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.4475, allocations: 0.7236 MB / 0.5226 GB, free: 8.832 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.4475, allocations: 2.953 kB / 0.5226 GB, free: 8.832 MB / 410.7 MB Notification: Performance of Templates: time 0.0597/0.5072, allocations: 39.43 MB / 0.5611 GB, free: 1.828 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.560187255963683]