Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.001269/0.001269, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009123/0.0009123, allocations: 164.8 kB / 24.91 MB, free: 8.762 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.8974/0.8974, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 4 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.694e-06/1.091e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01052/0.01053, allocations: 16.2 MB / 289.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09749/0.108, allocations: 5.577 MB / 295.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.1095, allocations: 144 kB / 295.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004333/0.1138, allocations: 4.671 MB / 300 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.1175, allocations: 2.948 MB / 302.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.1196, allocations: 1.66 MB / 304.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006117/0.1257, allocations: 10.04 MB / 314.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.1289, allocations: 5.737 MB / 320.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.1331, allocations: 5.165 MB / 325.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.1362, allocations: 4.236 MB / 329.8 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004975/0.1367, allocations: 0.5546 MB / 330.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.1383, allocations: 1.573 MB / 331.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.1401, allocations: 3.608 MB / 335.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.1416, allocations: 2.193 MB / 337.7 MB, free: 204 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.1462, allocations: 7.561 MB / 345.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1462, allocations: 0 / 345.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1462, allocations: 0 / 345.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.1462, allocations: 0 / 345.3 MB, free: 8.953 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.007158/0.1534, allocations: 7.522 MB / 352.8 MB, free: 1.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1534, allocations: 11.98 kB / 352.8 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.1581, allocations: 1.803 MB / 354.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.1616, allocations: 3.443 MB / 358 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.1618, allocations: 366.4 kB / 358.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005755/0.1624, allocations: 0.5229 MB / 358.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/0.17, allocations: 8.111 MB / 367 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.1701, allocations: 79.33 kB / 367.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003726/0.1705, allocations: 235.8 kB / 367.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002031/0.1725, allocations: 2.646 MB / 370 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005991/0.1785, allocations: 4.151 MB / 374.1 MB, free: 10.77 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.2104, allocations: 49.06 MB / 423.2 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/0.2178, allocations: 3.667 MB / 426.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009715/0.2188, allocations: 0.8508 MB / 427.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1068/0.3256, allocations: 8.009 MB / 435.7 MB, free: 113.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3256, allocations: 64.33 kB / 435.8 MB, free: 113.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=259): time 4.979e-06/0.3256, allocations: 0.5938 kB / 435.8 MB, free: 113.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=332): time 0.0434/0.369, allocations: 19.6 MB / 455.4 MB, free: 111.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3691, allocations: 277.2 kB / 455.7 MB, free: 111.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/0.3721, allocations: 4.892 MB / 460.6 MB, free: 107.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.3722, allocations: 77.7 kB / 460.6 MB, free: 107.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.3733, allocations: 4.549 MB / 465.2 MB, free: 103.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.3738, allocations: 1.295 MB / 466.5 MB, free: 102.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.375, allocations: 1.765 MB / 468.2 MB, free: 100.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.232e-05/0.3751, allocations: 309.1 kB / 468.5 MB, free: 100.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.3769, allocations: 1.324 MB / 469.9 MB, free: 99.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.3796, allocations: 6.697 MB / 476.6 MB, free: 89.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.3838, allocations: 8.776 MB / 485.3 MB, free: 78.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.653e-05/0.3838, allocations: 56 kB / 485.4 MB, free: 78.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.008737/0.3926, allocations: 7.631 MB / 493 MB, free: 71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.3926, allocations: 92.22 kB / 493.1 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-05/0.3927, allocations: 192 kB / 493.3 MB, free: 70.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/0.3971, allocations: 1.953 MB / 495.3 MB, free: 68.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.4001, allocations: 2.086 MB / 497.3 MB, free: 66.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.4072, allocations: 6.797 MB / 0.4923 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.4102, allocations: 411.7 kB / 0.4927 GB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.4105, allocations: 472 kB / 0.4932 GB, free: 58.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1158): * Single equations (assignments): 1153 * 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,29,100.0%), (4,32,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001296/0.4118, allocations: 0.8896 MB / 0.494 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/0.4123, allocations: 391.6 kB / 0.4944 GB, free: 57.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.4173, allocations: 3.183 MB / 0.4975 GB, free: 54.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.4173, allocations: 39.98 kB / 0.4976 GB, free: 54.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4173, allocations: 12 kB / 0.4976 GB, free: 54.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4173, allocations: 15.94 kB / 0.4976 GB, free: 54.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.4276, allocations: 8.581 MB / 0.506 GB, free: 45.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.4276, allocations: 8 kB / 0.506 GB, free: 45.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/0.4286, allocations: 439.4 kB / 0.5064 GB, free: 45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/0.4328, allocations: 1.905 MB / 0.5082 GB, free: 43.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.4329, allocations: 67.97 kB / 0.5083 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.4391, allocations: 5.704 MB / 0.5139 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4391, allocations: 11.94 kB / 0.5139 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.4448, allocations: 4.277 MB / 0.5181 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.4452, allocations: 0.5079 MB / 0.5186 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/0.4456, allocations: 59.94 kB / 0.5186 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.4467, allocations: 71.98 kB / 0.5187 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.447, allocations: 229.5 kB / 0.5189 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.4472, allocations: 67.98 kB / 0.519 GB, free: 31.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.4483, allocations: 1.875 MB / 0.5208 GB, free: 29.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4483, allocations: 3.391 kB / 0.5208 GB, free: 29.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003911/0.4523, allocations: 1.918 MB / 0.5227 GB, free: 27.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (255): * Single equations (assignments): 250 * 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 {(4,28,62.5%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003519/0.4526, allocations: 219.6 kB / 0.5229 GB, free: 27.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.4562, allocations: 4.513 MB / 0.5273 GB, free: 23.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001513/0.4564, allocations: 124.2 kB / 0.5274 GB, free: 23.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.4576, allocations: 1.412 MB / 0.5288 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.4597, allocations: 1.018 MB / 0.5298 GB, free: 20.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/0.4695, allocations: 12.26 MB / 0.5418 GB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.4708, allocations: 1.989 MB / 0.5437 GB, free: 6.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001554/0.4723, allocations: 0.773 MB / 0.5445 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.4735, allocations: 0.8799 MB / 0.5453 GB, free: 4.488 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4735, allocations: 0 / 0.5453 GB, free: 4.488 MB / 378.7 MB Notification: Performance of Templates: time 0.1672/0.6407, allocations: 72.79 MB / 0.6164 GB, free: 79.21 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.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.36161534441635]