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.00136/0.00136, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.001774/0.001774, allocations: 176.2 kB / 26.39 MB, free: 8.008 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.8924/0.8924, allocations: 158.6 MB / 188.3 MB, free: 2.797 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.282e-06/1.282e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.847e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01611/0.01613, allocations: 16.28 MB / 268.6 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.02772, allocations: 5.374 MB / 273.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.03164, allocations: 143.2 kB / 274.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007806/0.03945, allocations: 4.625 MB / 278.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009748/0.0492, allocations: 2.962 MB / 281.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.05367, allocations: 1.665 MB / 283.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.06817, allocations: 9.421 MB / 292.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0079/0.07607, allocations: 5.616 MB / 298.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006033/0.0821, allocations: 4.885 MB / 303.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/0.08699, allocations: 4.458 MB / 307.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009985/0.08799, allocations: 0.5547 MB / 308.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.09008, allocations: 1.58 MB / 309.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.09264, allocations: 3.659 MB / 313.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.09501, allocations: 2.22 MB / 315.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007749/0.1028, allocations: 7.648 MB / 323.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1028, allocations: 0 / 323.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1028, allocations: 4 kB / 323.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002361/0.103, allocations: 3.938 kB / 323.4 MB, free: 15.86 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.01258/0.1156, allocations: 8.384 MB / 331.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1156, allocations: 11.98 kB / 331.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.1292, allocations: 3.465 MB / 335.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005478/0.1347, allocations: 3.743 MB / 339 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.1349, allocations: 365.9 kB / 339.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008485/0.1357, allocations: 0.519 MB / 339.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.1498, allocations: 9.104 MB / 349 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/0.1501, allocations: 71.39 kB / 349 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005693/0.1506, allocations: 239.8 kB / 349.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002395/0.153, allocations: 2.65 MB / 351.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1329/0.2859, allocations: 4.271 MB / 356.2 MB, free: 87.92 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.04913/0.335, allocations: 67.67 MB / 423.9 MB, free: 29.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009952/0.345, allocations: 4.095 MB / 427.9 MB, free: 25.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.3466, allocations: 1.049 MB / 429 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.3581, allocations: 8.804 MB / 437.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3582, allocations: 63.39 kB / 437.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=259): time 5.58e-06/0.3582, allocations: 0 / 437.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=332): time 0.06119/0.4194, allocations: 22.11 MB / 460 MB, free: 10.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.4195, allocations: 269.5 kB / 460.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007697/0.4272, allocations: 5.479 MB / 465.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009841/0.4282, allocations: 77.7 kB / 465.8 MB, free: 4.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003613/0.4318, allocations: 5.245 MB / 471 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/0.4336, allocations: 1.334 MB / 472.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/0.4359, allocations: 2.034 MB / 474.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.436, allocations: 480.8 kB / 474.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.438, allocations: 1.12 MB / 476 MB, free: 10.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/0.4455, allocations: 9.307 MB / 485.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1498/0.5953, allocations: 11.26 MB / 496.6 MB, free: 115 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003393/0.5957, allocations: 54.62 kB / 496.6 MB, free: 115 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.02018/0.6159, allocations: 8.886 MB / 0.4936 GB, free: 113.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.616, allocations: 89.97 kB / 0.4937 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002519/0.6162, allocations: 190.4 kB / 0.4939 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006911/0.6231, allocations: 1.959 MB / 0.4958 GB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/0.6288, allocations: 2.089 MB / 0.4979 GB, free: 113.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.641, allocations: 8.194 MB / 0.5059 GB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/0.6487, allocations: 408.8 kB / 0.5063 GB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/0.65, allocations: 476.4 kB / 0.5067 GB, free: 109.6 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.003103/0.6531, allocations: 0.9314 MB / 0.5076 GB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/0.6548, allocations: 0.6463 MB / 0.5083 GB, free: 109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007101/0.6619, allocations: 3.596 MB / 0.5118 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/0.6619, allocations: 37.81 kB / 0.5118 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.615e-05/0.662, allocations: 16 kB / 0.5118 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/0.662, allocations: 18.89 kB / 0.5118 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/0.6826, allocations: 10.01 MB / 0.5216 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.6826, allocations: 4 kB / 0.5216 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.6841, allocations: 444.1 kB / 0.522 GB, free: 98.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004957/0.689, allocations: 1.676 MB / 0.5237 GB, free: 97.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004114/0.6894, allocations: 59.98 kB / 0.5237 GB, free: 97.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007836/0.6973, allocations: 7.049 MB / 0.5306 GB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6973, allocations: 14.23 kB / 0.5306 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008867/0.7062, allocations: 4.951 MB / 0.5355 GB, free: 84.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/0.7083, allocations: 0.8507 MB / 0.5363 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007404/0.709, allocations: 64.8 kB / 0.5364 GB, free: 83.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.7106, allocations: 71.92 kB / 0.5364 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.711, allocations: 221.5 kB / 0.5366 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.7112, allocations: 70.27 kB / 0.5367 GB, free: 83.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002196/0.7134, allocations: 2.255 MB / 0.5389 GB, free: 81.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7134, allocations: 4 kB / 0.5389 GB, free: 81.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006364/0.7197, allocations: 1.962 MB / 0.5408 GB, free: 79.59 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.000542/0.7203, allocations: 250.5 kB / 0.5411 GB, free: 79.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005914/0.7262, allocations: 5.038 MB / 0.546 GB, free: 74.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7262, allocations: 0 / 0.546 GB, free: 74.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.728, allocations: 1.672 MB / 0.5476 GB, free: 72.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/0.7314, allocations: 0.7108 MB / 0.5483 GB, free: 71.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.7492, allocations: 12.51 MB / 0.5605 GB, free: 59.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/0.752, allocations: 2.01 MB / 0.5625 GB, free: 57.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002505/0.7545, allocations: 0.7806 MB / 0.5633 GB, free: 56.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7558, allocations: 0.9393 MB / 0.5642 GB, free: 55.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.335e-06/0.7558, allocations: 0 / 0.5642 GB, free: 55.5 MB / 378.7 MB Notification: Performance of Templates: time 0.2101/0.9659, allocations: 75.83 MB / 0.6382 GB, free: 124.7 MB / 394.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.6504032467491925]