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.001582/0.001582, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001657/0.001657, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.984/0.984, allocations: 177 MB / 205.9 MB, free: 4.457 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 1.754e-06/1.754e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.057e-05, allocations: 2.312 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01191/0.01194, allocations: 16.17 MB / 290.3 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.02054, allocations: 5.368 MB / 295.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.02297, allocations: 147.2 kB / 295.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.02768, allocations: 4.606 MB / 300.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.03365, allocations: 2.908 MB / 303.3 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.03625, allocations: 1.661 MB / 305 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.04682, allocations: 10.06 MB / 315 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.0535, allocations: 5.604 MB / 320.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007549/0.06105, allocations: 5.201 MB / 325.9 MB, free: 336 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006496/0.06755, allocations: 4.431 MB / 330.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.06917, allocations: 0.5547 MB / 330.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.07227, allocations: 1.576 MB / 332.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003203/0.07547, allocations: 3.604 MB / 336 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.07864, allocations: 2.197 MB / 338.2 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1218/0.2004, allocations: 7.561 MB / 345.8 MB, free: 38.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2004, allocations: 0 / 345.8 MB, free: 38.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2004, allocations: 0 / 345.8 MB, free: 38.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000363/0.2008, allocations: 0 / 345.8 MB, free: 38.18 MB / 314.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.01538/0.2162, allocations: 8.338 MB / 354.1 MB, free: 35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2162, allocations: 10.06 kB / 354.1 MB, free: 35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.2299, allocations: 3.464 MB / 357.6 MB, free: 34.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/0.2372, allocations: 3.66 MB / 361.2 MB, free: 33.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.2374, allocations: 368.6 kB / 361.6 MB, free: 33.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.239, allocations: 0.5162 MB / 362.1 MB, free: 33.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.2551, allocations: 9.102 MB / 371.2 MB, free: 29.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.2554, allocations: 81.03 kB / 371.3 MB, free: 29.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000715/0.2561, allocations: 243.5 kB / 371.5 MB, free: 29.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002383/0.2585, allocations: 2.642 MB / 374.2 MB, free: 29.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.2704, allocations: 4.273 MB / 378.5 MB, free: 27.18 MB / 314.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.05529/0.3257, allocations: 67.63 MB / 446.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.3366, allocations: 4.106 MB / 450.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.3384, allocations: 1.043 MB / 451.2 MB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/0.3518, allocations: 8.799 MB / 460 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.3518, allocations: 64.89 kB / 460.1 MB, free: 9.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=259): time 5.51e-06/0.3518, allocations: 1.422 kB / 460.1 MB, free: 9.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=332): time 0.06029/0.4121, allocations: 22.01 MB / 482.1 MB, free: 4.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.4122, allocations: 269.5 kB / 482.4 MB, free: 3.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.123/0.5352, allocations: 5.409 MB / 487.8 MB, free: 132.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007597/0.536, allocations: 80.52 kB / 487.9 MB, free: 132.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/0.5388, allocations: 5.24 MB / 493.1 MB, free: 130 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.5401, allocations: 1.334 MB / 494.4 MB, free: 129.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/0.542, allocations: 2.036 MB / 496.5 MB, free: 129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.302e-05/0.542, allocations: 479.2 kB / 496.9 MB, free: 128.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.5438, allocations: 1.118 MB / 498.1 MB, free: 128.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.5476, allocations: 9.309 MB / 0.4955 GB, free: 118.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006612/0.5542, allocations: 11.27 MB / 0.5065 GB, free: 107 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.5543, allocations: 55.44 kB / 0.5065 GB, free: 107 MB / 394.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.01296/0.5673, allocations: 8.886 MB / 0.5152 GB, free: 102.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/0.5673, allocations: 90.03 kB / 0.5153 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.5675, allocations: 188.6 kB / 0.5155 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/0.5726, allocations: 1.978 MB / 0.5174 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/0.5764, allocations: 2.084 MB / 0.5194 GB, free: 99.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008445/0.5849, allocations: 8.199 MB / 0.5275 GB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/0.5901, allocations: 406.9 kB / 0.5278 GB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007852/0.5909, allocations: 475.8 kB / 0.5283 GB, free: 90.86 MB / 394.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.002605/0.5935, allocations: 0.9304 MB / 0.5292 GB, free: 89.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/0.5948, allocations: 0.6447 MB / 0.5298 GB, free: 89.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006258/0.601, allocations: 3.585 MB / 0.5333 GB, free: 85.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.601, allocations: 40 kB / 0.5334 GB, free: 85.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.6011, allocations: 12 kB / 0.5334 GB, free: 85.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.6011, allocations: 15.94 kB / 0.5334 GB, free: 85.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/0.6181, allocations: 9.956 MB / 0.5431 GB, free: 75.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.6181, allocations: 8 kB / 0.5431 GB, free: 75.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.6193, allocations: 448 kB / 0.5436 GB, free: 74.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004662/0.624, allocations: 1.682 MB / 0.5452 GB, free: 73.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003387/0.6243, allocations: 60 kB / 0.5453 GB, free: 73.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007804/0.6321, allocations: 7.053 MB / 0.5521 GB, free: 65.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6321, allocations: 12.56 kB / 0.5522 GB, free: 65.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/0.6404, allocations: 4.955 MB / 0.557 GB, free: 60.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.642, allocations: 0.5313 MB / 0.5575 GB, free: 60.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005916/0.6426, allocations: 59.98 kB / 0.5576 GB, free: 60.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.6439, allocations: 71.98 kB / 0.5576 GB, free: 60.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.6443, allocations: 221.4 kB / 0.5579 GB, free: 59.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.6445, allocations: 67.98 kB / 0.5579 GB, free: 59.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002207/0.6467, allocations: 2.214 MB / 0.5601 GB, free: 57.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6467, allocations: 0 / 0.5601 GB, free: 57.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005431/0.6521, allocations: 1.922 MB / 0.562 GB, free: 55.71 MB / 394.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.0004528/0.6526, allocations: 230.6 kB / 0.5622 GB, free: 55.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00574/0.6583, allocations: 5.038 MB / 0.5671 GB, free: 50.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6583, allocations: 4 kB / 0.5671 GB, free: 50.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.6599, allocations: 1.668 MB / 0.5687 GB, free: 48.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.6627, allocations: 0.7188 MB / 0.5694 GB, free: 48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.6802, allocations: 12.45 MB / 0.5816 GB, free: 35.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.6825, allocations: 1.996 MB / 0.5835 GB, free: 33.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002459/0.685, allocations: 0.7687 MB / 0.5843 GB, free: 32.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.6863, allocations: 0.9315 MB / 0.5852 GB, free: 31.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6863, allocations: 4 kB / 0.5852 GB, free: 31.62 MB / 394.7 MB Notification: Performance of Templates: time 0.1985/0.8848, allocations: 74.59 MB / 0.658 GB, free: 90.75 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: 5.427052286919206]