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.001976/0.001976, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00135/0.00135, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.465/1.465, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.668e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01948/0.01951, allocations: 14.96 MB / 340 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.03332, allocations: 5.28 MB / 345.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.03705, allocations: 143.2 kB / 345.4 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.04733, allocations: 4.462 MB / 349.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008522/0.05585, allocations: 2.903 MB / 352.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.05984, allocations: 1.622 MB / 354.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.07456, allocations: 10.06 MB / 364.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009155/0.08372, allocations: 5.399 MB / 369.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009612/0.09333, allocations: 4.132 MB / 374 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007997/0.1013, allocations: 4.423 MB / 378.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002039/0.1034, allocations: 0.5547 MB / 379 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/0.1075, allocations: 1.592 MB / 380.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00505/0.1125, allocations: 3.596 MB / 384.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005344/0.1179, allocations: 2.189 MB / 386.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0179/0.1358, allocations: 11.42 MB / 397.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1358, allocations: 0 / 397.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1358, allocations: 0 / 397.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004528/0.1362, allocations: 0 / 397.8 MB, free: 12.09 MB / 366.1 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.02362/0.1599, allocations: 8.47 MB / 406.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1599, allocations: 11.98 kB / 406.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03402/0.1939, allocations: 3.987 MB / 410.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.2078, allocations: 5.172 MB / 415.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/0.2082, allocations: 373.8 kB / 415.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/0.2102, allocations: 0.5152 MB / 416.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03331/0.2435, allocations: 16.43 MB / 432.7 MB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/0.2437, allocations: 87.34 kB / 432.8 MB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.2451, allocations: 235.8 kB / 433 MB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005281/0.2504, allocations: 2.919 MB / 435.9 MB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03164/0.282, allocations: 13.7 MB / 449.6 MB, free: 6.875 MB / 414.1 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.2437/0.5257, allocations: 60.6 MB / 0.4983 GB, free: 80.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03374/0.5595, allocations: 7.375 MB / 0.5055 GB, free: 78.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007287/0.5668, allocations: 3.987 MB / 0.5094 GB, free: 77.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02942/0.5962, allocations: 16.57 MB / 0.5256 GB, free: 68.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.5962, allocations: 75.89 kB / 0.5256 GB, free: 68.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=290): time 6.963e-06/0.5962, allocations: 0 / 0.5256 GB, free: 68.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=372): time 0.1659/0.7621, allocations: 51.18 MB / 0.5756 GB, free: 18.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.7622, allocations: 281.8 kB / 0.5759 GB, free: 17.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007755/0.77, allocations: 6.091 MB / 0.5818 GB, free: 11.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007495/0.7707, allocations: 81.7 kB / 0.5819 GB, free: 11.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.7727, allocations: 4.84 MB / 0.5866 GB, free: 7.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.7742, allocations: 1.419 MB / 0.588 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002653/0.7769, allocations: 1.89 MB / 0.5899 GB, free: 3.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.7769, allocations: 301.1 kB / 0.5901 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00524/0.7821, allocations: 4.161 MB / 0.5942 GB, free: 15.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01298/0.7951, allocations: 9.491 MB / 0.6035 GB, free: 3.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02234/0.8175, allocations: 14.5 MB / 0.6176 GB, free: 2.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/0.8176, allocations: 48 kB / 0.6177 GB, free: 2.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.04035/0.858, allocations: 17.4 MB / 0.6347 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.8581, allocations: 87.94 kB / 0.6348 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/0.8583, allocations: 184.2 kB / 0.6349 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1758/1.034, allocations: 4.595 MB / 0.6394 GB, free: 152.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007623/1.042, allocations: 2.13 MB / 0.6415 GB, free: 152.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03209/1.074, allocations: 24.76 MB / 0.6657 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007584/1.081, allocations: 0.6354 MB / 0.6663 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.083, allocations: 0.5412 MB / 0.6668 GB, free: 142.4 MB / 478.1 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.004258/1.087, allocations: 3.11 MB / 0.6699 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.088, allocations: 0.5446 MB / 0.6704 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/1.108, allocations: 10.56 MB / 0.6807 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/1.108, allocations: 36 kB / 0.6807 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/1.108, allocations: 27.62 kB / 0.6808 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/1.108, allocations: 15.94 kB / 0.6808 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/1.141, allocations: 18.4 MB / 0.6988 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/1.141, allocations: 1.969 kB / 0.6988 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/1.144, allocations: 0.5422 MB / 0.6993 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01283/1.157, allocations: 4.254 MB / 0.7034 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004802/1.157, allocations: 63.98 kB / 0.7035 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/1.185, allocations: 22.48 MB / 0.7255 GB, free: 85.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.185, allocations: 4 kB / 0.7255 GB, free: 85.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.211, allocations: 15.45 MB / 0.7405 GB, free: 70.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.213, allocations: 0.5576 MB / 0.7411 GB, free: 69.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.214, allocations: 60 kB / 0.7412 GB, free: 69.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/1.217, allocations: 326.7 kB / 0.7415 GB, free: 69.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008669/1.218, allocations: 234 kB / 0.7417 GB, free: 69.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/1.218, allocations: 91.98 kB / 0.7418 GB, free: 69.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004321/1.223, allocations: 3.609 MB / 0.7453 GB, free: 65.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 3.609 kB / 0.7453 GB, free: 65.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007527/1.23, allocations: 2.163 MB / 0.7474 GB, free: 63.41 MB / 478.1 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.0006663/1.231, allocations: 227 kB / 0.7476 GB, free: 63.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01223/1.243, allocations: 9.893 MB / 0.7573 GB, free: 53.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.243, allocations: 0 / 0.7573 GB, free: 53.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/1.248, allocations: 3.738 MB / 0.7609 GB, free: 49.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.252, allocations: 0.6898 MB / 0.7616 GB, free: 48.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.274, allocations: 16.36 MB / 0.7776 GB, free: 32.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005031/1.279, allocations: 4.362 MB / 0.7819 GB, free: 28.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005858/1.285, allocations: 2.747 MB / 0.7845 GB, free: 25.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.286, allocations: 376.4 kB / 0.7849 GB, free: 24.97 MB / 478.1 MB Notification: Performance of SimCode: time 1.402e-06/1.286, allocations: 0 / 0.7849 GB, free: 24.97 MB / 478.1 MB Notification: Performance of Templates: time 0.2692/1.555, allocations: 79.66 MB / 0.8627 GB, free: 114.6 MB / 478.1 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.58910582959652]