Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.001005/0.001005, allocations: 83.56 kB / 21.97 MB, free: 2.625 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.001043/0.001043, allocations: 168.2 kB / 25.33 MB, free: 9.059 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.9408/0.9408, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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(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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.165e-05, allocations: 2.312 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01384/0.01387, allocations: 16.82 MB / 267.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.02482, allocations: 5.413 MB / 273.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.02802, allocations: 139.2 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005554/0.03358, allocations: 4.703 MB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006565/0.04014, allocations: 2.954 MB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.04289, allocations: 1.661 MB / 282.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.05334, allocations: 9.433 MB / 292.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007621/0.06096, allocations: 5.605 MB / 297.8 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007778/0.06874, allocations: 4.179 MB / 302 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005797/0.07454, allocations: 4.509 MB / 306.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.07629, allocations: 0.5547 MB / 307 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.07915, allocations: 1.603 MB / 308.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003076/0.08222, allocations: 3.666 MB / 312.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004119/0.08634, allocations: 2.243 MB / 314.5 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.09711, allocations: 7.656 MB / 322.2 MB, free: 76 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.09712, allocations: 3.984 kB / 322.2 MB, free: 72 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.09712, allocations: 4 kB / 322.2 MB, free: 68 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.00042/0.09754, allocations: 0 / 322.2 MB, free: 68 kB / 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.01788/0.1154, allocations: 8.998 MB / 331.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1155, allocations: 11.98 kB / 331.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/0.1326, allocations: 4.561 MB / 335.8 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009464/0.142, allocations: 4.84 MB / 340.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.1424, allocations: 365.8 kB / 341 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/0.1445, allocations: 0.5268 MB / 341.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.1641, allocations: 10.26 MB / 351.8 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.1644, allocations: 87.33 kB / 351.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007884/0.1651, allocations: 235.8 kB / 352.1 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1434/0.3085, allocations: 2.921 MB / 355 MB, free: 88.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.3251, allocations: 5.807 MB / 360.8 MB, free: 88.57 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.05755/0.3826, allocations: 68.38 MB / 429.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/0.3961, allocations: 4.965 MB / 434.2 MB, free: 18.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.3988, allocations: 1.463 MB / 435.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/0.4158, allocations: 11.19 MB / 446.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.4159, allocations: 67.33 kB / 446.9 MB, free: 5.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=290): time 6.742e-06/0.4159, allocations: 0 / 446.9 MB, free: 5.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=372): time 0.07792/0.4938, allocations: 33.3 MB / 480.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.4939, allocations: 277.8 kB / 480.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00663/0.5006, allocations: 5.354 MB / 485.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008331/0.5014, allocations: 85.7 kB / 485.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003165/0.5046, allocations: 5.069 MB / 491 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001966/0.5065, allocations: 1.462 MB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002985/0.5095, allocations: 2 MB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5096, allocations: 480.5 kB / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.5127, allocations: 1.428 MB / 496.3 MB, free: 4.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1504/0.6631, allocations: 9.232 MB / 0.4937 GB, free: 112.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.6743, allocations: 11.7 MB / 0.5051 GB, free: 102.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000545/0.6749, allocations: 51.44 kB / 0.5052 GB, free: 102.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.0231/0.698, allocations: 11.32 MB / 0.5162 GB, free: 100.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.6981, allocations: 84.53 kB / 0.5163 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.6983, allocations: 181.9 kB / 0.5165 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.7093, allocations: 3.751 MB / 0.5201 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006305/0.7156, allocations: 2.124 MB / 0.5222 GB, free: 99.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/0.7334, allocations: 11.29 MB / 0.5333 GB, free: 92.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007682/0.741, allocations: 0.646 MB / 0.5339 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/0.7426, allocations: 0.5335 MB / 0.5344 GB, free: 91.12 MB / 378.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.002777/0.7453, allocations: 0.9245 MB / 0.5353 GB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/0.7467, allocations: 0.6528 MB / 0.5359 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.7592, allocations: 5.978 MB / 0.5418 GB, free: 84.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/0.7592, allocations: 39.59 kB / 0.5418 GB, free: 84.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.091e-05/0.7593, allocations: 20 kB / 0.5418 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.489e-05/0.7593, allocations: 15.94 kB / 0.5419 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/0.7842, allocations: 12.79 MB / 0.5543 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.7843, allocations: 0 / 0.5543 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.786, allocations: 0.5344 MB / 0.5549 GB, free: 71.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007607/0.7936, allocations: 3.43 MB / 0.5582 GB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005351/0.7941, allocations: 60 kB / 0.5583 GB, free: 67.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.8062, allocations: 9.761 MB / 0.5678 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8062, allocations: 0 / 0.5678 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.8187, allocations: 7.464 MB / 0.5751 GB, free: 50.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/0.8212, allocations: 1.096 MB / 0.5762 GB, free: 49.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007639/0.8219, allocations: 60 kB / 0.5762 GB, free: 49.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/0.8238, allocations: 343.5 kB / 0.5765 GB, free: 49.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005364/0.8243, allocations: 234 kB / 0.5768 GB, free: 48.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.8245, allocations: 94.17 kB / 0.5769 GB, free: 48.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00277/0.8273, allocations: 2.38 MB / 0.5792 GB, free: 46.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8273, allocations: 0 / 0.5792 GB, free: 46.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006703/0.834, allocations: 2.208 MB / 0.5813 GB, free: 44.22 MB / 378.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.0006254/0.8346, allocations: 241.6 kB / 0.5816 GB, free: 43.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008397/0.843, allocations: 6.026 MB / 0.5875 GB, free: 37.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.843, allocations: 0 / 0.5875 GB, free: 37.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.8457, allocations: 2.237 MB / 0.5896 GB, free: 35.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/0.8493, allocations: 0.72 MB / 0.5903 GB, free: 34.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.8669, allocations: 12.95 MB / 0.603 GB, free: 21.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/0.8688, allocations: 2.031 MB / 0.605 GB, free: 19.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003899/0.8727, allocations: 2.329 MB / 0.6072 GB, free: 17.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.8738, allocations: 376.4 kB / 0.6076 GB, free: 17.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.555e-06/0.8738, allocations: 0 / 0.6076 GB, free: 17.16 MB / 378.7 MB Notification: Performance of Templates: time 0.21/1.084, allocations: 81.92 MB / 0.6876 GB, free: 65.12 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.728676998987794]