Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.004226/0.004226, allocations: 95.22 kB / 20.43 MB, free: 4.141 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.001335/0.001335, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 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.9763/0.9763, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1892/0.1892, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.136e-05, allocations: 6.312 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01117/0.0112, allocations: 14.52 MB / 362.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.02136, allocations: 4.934 MB / 367.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.02444, allocations: 119.4 kB / 367.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005541/0.02998, allocations: 4.322 MB / 371.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.03762, allocations: 2.531 MB / 374.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.04043, allocations: 1.306 MB / 375.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00977/0.0502, allocations: 6.863 MB / 382.3 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007336/0.05753, allocations: 4.459 MB / 386.7 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008177/0.06571, allocations: 4.043 MB / 390.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005888/0.0716, allocations: 3.305 MB / 394.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.0735, allocations: 464 kB / 394.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.07716, allocations: 1.49 MB / 396 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003822/0.08098, allocations: 2.957 MB / 399 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003465/0.08445, allocations: 1.799 MB / 400.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00946/0.09391, allocations: 6.356 MB / 407.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.09392, allocations: 0 / 407.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09392, allocations: 0 / 407.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003556/0.09427, allocations: 0 / 407.1 MB, free: 13.73 MB / 346.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.01546/0.1097, allocations: 7.381 MB / 414.5 MB, free: 6.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.1098, allocations: 8.031 kB / 414.5 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.1242, allocations: 3.848 MB / 418.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006931/0.1312, allocations: 3.433 MB / 421.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.1314, allocations: 312.4 kB / 422.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.1327, allocations: 428.3 kB / 422.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.1499, allocations: 8.711 MB / 431.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.1501, allocations: 55.53 kB / 431.3 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006334/0.1508, allocations: 199.8 kB / 431.5 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/0.1529, allocations: 2.418 MB / 433.9 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.1657, allocations: 4.74 MB / 438.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2314/0.3971, allocations: 55.69 MB / 494.3 MB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007897/0.405, allocations: 3.334 MB / 497.7 MB, free: 33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.4064, allocations: 0.9777 MB / 498.7 MB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009404/0.4158, allocations: 6.929 MB / 0.4937 GB, free: 31.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4159, allocations: 62.17 kB / 0.4938 GB, free: 31.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=199): time 5.31e-06/0.4159, allocations: 2.344 kB / 0.4938 GB, free: 31.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.02845/0.4443, allocations: 15.02 MB / 0.5085 GB, free: 25.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.4444, allocations: 260.9 kB / 0.5087 GB, free: 25.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.4483, allocations: 4.586 MB / 0.5132 GB, free: 21.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.4485, allocations: 65.7 kB / 0.5133 GB, free: 21.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.4503, allocations: 4.383 MB / 0.5175 GB, free: 16.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007111/0.451, allocations: 0.926 MB / 0.5184 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.4522, allocations: 1.634 MB / 0.52 GB, free: 14.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.4522, allocations: 477.4 kB / 0.5205 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.4535, allocations: 0.8426 MB / 0.5213 GB, free: 13.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.4565, allocations: 7.768 MB / 0.5289 GB, free: 2.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008593/0.4651, allocations: 9.367 MB / 0.538 GB, free: 6.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002369/0.4653, allocations: 52 kB / 0.5381 GB, free: 6.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.01421/0.4795, allocations: 6.573 MB / 0.5445 GB, free: 468 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.4796, allocations: 72.88 kB / 0.5446 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/0.4798, allocations: 168.2 kB / 0.5447 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.4804, allocations: 287.3 kB / 0.545 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/0.4848, allocations: 1.871 MB / 0.5468 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.4874, allocations: 3.824 MB / 0.5506 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/0.4922, allocations: 0.5071 MB / 0.5511 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/0.4937, allocations: 462.2 kB / 0.5515 GB, free: 9.035 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.002568/0.4963, allocations: 0.7974 MB / 0.5523 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.4974, allocations: 0.4976 MB / 0.5528 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.4998, allocations: 1.575 MB / 0.5543 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.4999, allocations: 26.58 kB / 0.5543 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4999, allocations: 0 / 0.5543 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.4999, allocations: 7.969 kB / 0.5544 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.5141, allocations: 6.471 MB / 0.5607 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.5141, allocations: 7.172 kB / 0.5607 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.5155, allocations: 459.3 kB / 0.5611 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/0.5158, allocations: 87.67 kB / 0.5612 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.516, allocations: 43.98 kB / 0.5612 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.518, allocations: 3.529 MB / 0.5647 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.518, allocations: 4 kB / 0.5647 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.5226, allocations: 2.888 MB / 0.5675 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.5241, allocations: 0.6609 MB / 0.5682 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/0.5246, allocations: 47.92 kB / 0.5682 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.5259, allocations: 201.5 kB / 0.5684 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.5261, allocations: 144.9 kB / 0.5685 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.5262, allocations: 63.98 kB / 0.5686 GB, free: 7.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002839/0.5291, allocations: 2.005 MB / 0.5706 GB, free: 5.055 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5291, allocations: 0 / 0.5706 GB, free: 5.055 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005209/0.5343, allocations: 1.327 MB / 0.5719 GB, free: 3.73 MB / 426.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.0005628/0.5348, allocations: 206.3 kB / 0.572 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008431/0.5433, allocations: 3.814 MB / 0.5758 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.5433, allocations: 4.25 kB / 0.5758 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.5447, allocations: 1.026 MB / 0.5768 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.5481, allocations: 0.5464 MB / 0.5773 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.5661, allocations: 9.946 MB / 0.587 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.5688, allocations: 1.625 MB / 0.5886 GB, free: 2.359 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004372/0.5732, allocations: 1.977 MB / 0.5905 GB, free: 388 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009285/0.5741, allocations: 296.5 kB / 0.5908 GB, free: 92 kB / 442.7 MB Notification: Performance of SimCode: time 3.477e-06/0.5741, allocations: 4 kB / 0.5908 GB, free: 88 kB / 442.7 MB Notification: Performance of Templates: time 0.2227/0.7968, allocations: 37.81 MB / 0.6278 GB, free: 137.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.023467516060919]