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.001305/0.001305, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001054/0.001054, allocations: 160 kB / 24.99 MB, free: 8.801 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.9215/0.9215, allocations: 177 MB / 205.2 MB, free: 5.609 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.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.695e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.0139/0.01392, allocations: 16.65 MB / 289.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1163/0.1302, allocations: 5.39 MB / 295 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.1317, allocations: 140.3 kB / 295.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.1362, allocations: 4.678 MB / 299.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.1396, allocations: 2.893 MB / 302.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1414, allocations: 1.662 MB / 304.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.1466, allocations: 10.06 MB / 314.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.1497, allocations: 5.604 MB / 320.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.1531, allocations: 4.141 MB / 324.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/0.1572, allocations: 4.484 MB / 328.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009883/0.1582, allocations: 0.5547 MB / 329.3 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1601, allocations: 1.588 MB / 330.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.1623, allocations: 3.618 MB / 334.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.1643, allocations: 2.21 MB / 336.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005466/0.1697, allocations: 7.578 MB / 344.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1697, allocations: 0 / 344.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1698, allocations: 0 / 344.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-05/0.1698, allocations: 0 / 344.3 MB, free: 10.13 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.009178/0.179, allocations: 8.955 MB / 353.2 MB, free: 1.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.179, allocations: 11.98 kB / 353.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.1957, allocations: 4.555 MB / 357.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/0.2031, allocations: 4.746 MB / 362.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.2034, allocations: 374.4 kB / 362.9 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007903/0.2042, allocations: 0.5112 MB / 363.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.2194, allocations: 10.28 MB / 373.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.2195, allocations: 71.41 kB / 373.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006419/0.2202, allocations: 239.8 kB / 374 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/0.2238, allocations: 2.927 MB / 376.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.2375, allocations: 5.821 MB / 382.7 MB, free: 2.117 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.1595/0.397, allocations: 68.33 MB / 451.1 MB, free: 67.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.4084, allocations: 4.984 MB / 456 MB, free: 66.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.41, allocations: 1.46 MB / 457.5 MB, free: 66.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.4211, allocations: 11.17 MB / 468.7 MB, free: 63.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4212, allocations: 72.27 kB / 468.7 MB, free: 63.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=290): time 4.409e-06/0.4212, allocations: 0 / 468.7 MB, free: 63.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=372): time 0.06132/0.4825, allocations: 33.14 MB / 0.4901 GB, free: 36.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.4826, allocations: 269.1 kB / 0.4904 GB, free: 36.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/0.4868, allocations: 5.308 MB / 0.4956 GB, free: 31.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.487, allocations: 85.3 kB / 0.4956 GB, free: 31.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.4885, allocations: 5.071 MB / 0.5006 GB, free: 26.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006748/0.4891, allocations: 1.471 MB / 0.502 GB, free: 24.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/0.4906, allocations: 1.992 MB / 0.504 GB, free: 22.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.765e-05/0.4907, allocations: 476.8 kB / 0.5044 GB, free: 22.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4925, allocations: 1.432 MB / 0.5058 GB, free: 21.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.4961, allocations: 9.23 MB / 0.5148 GB, free: 8.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007764/0.5038, allocations: 11.7 MB / 0.5263 GB, free: 9.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.913e-05/0.5039, allocations: 54.56 kB / 0.5263 GB, free: 9.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.01671/0.5206, allocations: 11.32 MB / 0.5374 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.5207, allocations: 83.44 kB / 0.5375 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.5208, allocations: 184 kB / 0.5376 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00849/0.5293, allocations: 3.74 MB / 0.5413 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/0.5332, allocations: 2.129 MB / 0.5434 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.5486, allocations: 11.31 MB / 0.5544 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/0.5528, allocations: 0.6242 MB / 0.555 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005251/0.5534, allocations: 0.5351 MB / 0.5555 GB, free: 11.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1133): * Single equations (assignments): 1128 * 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,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001748/0.5551, allocations: 0.9126 MB / 0.5564 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/0.5559, allocations: 0.6526 MB / 0.5571 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.5665, allocations: 5.979 MB / 0.5629 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.5666, allocations: 40 kB / 0.5629 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.5666, allocations: 20 kB / 0.563 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.5666, allocations: 15.94 kB / 0.563 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/0.5858, allocations: 12.74 MB / 0.5754 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5858, allocations: 0 / 0.5754 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.5872, allocations: 0.5487 MB / 0.5759 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007881/0.5951, allocations: 3.422 MB / 0.5793 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/0.5954, allocations: 67.98 kB / 0.5794 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1258/0.7211, allocations: 9.726 MB / 0.5889 GB, free: 154.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7211, allocations: 0.9688 kB / 0.5889 GB, free: 154.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.7339, allocations: 7.469 MB / 0.5961 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/0.7348, allocations: 0.542 MB / 0.5967 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/0.7353, allocations: 62.91 kB / 0.5967 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.7369, allocations: 321.9 kB / 0.597 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005303/0.7374, allocations: 232.9 kB / 0.5973 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.7376, allocations: 97.41 kB / 0.5974 GB, free: 154 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002491/0.7401, allocations: 2.335 MB / 0.5996 GB, free: 153.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7401, allocations: 0 / 0.5996 GB, free: 153.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004873/0.745, allocations: 2.162 MB / 0.6017 GB, free: 153.8 MB / 442.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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004476/0.7454, allocations: 234.6 kB / 0.602 GB, free: 153.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006196/0.7516, allocations: 6.024 MB / 0.6079 GB, free: 152.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7516, allocations: 0 / 0.6079 GB, free: 152.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.7538, allocations: 2.233 MB / 0.61 GB, free: 152.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.7559, allocations: 0.7195 MB / 0.6107 GB, free: 152.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.768, allocations: 12.9 MB / 0.6233 GB, free: 142.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.7693, allocations: 2.028 MB / 0.6253 GB, free: 140.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00305/0.7723, allocations: 2.334 MB / 0.6276 GB, free: 139.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007448/0.7731, allocations: 376.5 kB / 0.628 GB, free: 139.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.014e-06/0.7731, allocations: 0 / 0.628 GB, free: 139.1 MB / 442.7 MB Notification: Performance of Templates: time 0.09165/0.8647, allocations: 80.73 MB / 0.7068 GB, free: 59.28 MB / 442.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.0831753220409155]