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.001369/0.001369, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001994/0.001994, allocations: 168.7 kB / 25.75 MB, free: 8.582 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.9309/0.9309, allocations: 158.6 MB / 187.6 MB, free: 2.895 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.643e-06/1.643e-06, allocations: 0 / 251.1 MB, free: 7.875 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.979e-05, allocations: 2.312 kB / 251.1 MB, free: 7.871 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01348/0.01351, allocations: 16.76 MB / 267.9 MB, free: 7.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008145/0.02166, allocations: 5.405 MB / 273.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.02311, allocations: 143.2 kB / 273.4 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.02745, allocations: 4.699 MB / 278.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.03238, allocations: 2.95 MB / 281.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.03644, allocations: 1.653 MB / 282.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.04863, allocations: 9.422 MB / 292.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00763/0.05626, allocations: 5.616 MB / 297.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.06808, allocations: 4.182 MB / 302 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006245/0.07433, allocations: 4.509 MB / 306.5 MB, free: 312 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.07624, allocations: 0.5547 MB / 307 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.07979, allocations: 1.599 MB / 308.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003956/0.08374, allocations: 3.662 MB / 312.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.08778, allocations: 2.243 MB / 314.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.09844, allocations: 7.664 MB / 322.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.09845, allocations: 0 / 322.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09845, allocations: 0 / 322.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0005015/0.09895, allocations: 0 / 322.2 MB, free: 0.5352 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.01685/0.1158, allocations: 8.994 MB / 331.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.1159, allocations: 11.98 kB / 331.2 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/0.1319, allocations: 4.557 MB / 335.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009216/0.1411, allocations: 4.84 MB / 340.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.1413, allocations: 373.9 kB / 341 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.1428, allocations: 0.5112 MB / 341.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.163, allocations: 10.28 MB / 351.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/0.1633, allocations: 75.39 kB / 351.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008736/0.1641, allocations: 235.8 kB / 352 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1341/0.2983, allocations: 2.922 MB / 355 MB, free: 95.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.3141, allocations: 5.806 MB / 360.8 MB, free: 95.16 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.05571/0.3698, allocations: 68.39 MB / 429.2 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.3822, allocations: 4.971 MB / 434.1 MB, free: 21.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.3847, allocations: 1.459 MB / 435.6 MB, free: 20.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/0.3998, allocations: 11.19 MB / 446.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/0.3999, allocations: 71.33 kB / 446.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=290): time 8.687e-06/0.3999, allocations: 0 / 446.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=372): time 0.08356/0.4834, allocations: 33.29 MB / 480.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4836, allocations: 277.8 kB / 480.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008057/0.4916, allocations: 5.352 MB / 485.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001145/0.4928, allocations: 81.7 kB / 485.9 MB, free: 2.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1284/0.6212, allocations: 5.071 MB / 490.9 MB, free: 117.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002065/0.6233, allocations: 1.476 MB / 492.4 MB, free: 116.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002847/0.6261, allocations: 1.993 MB / 494.4 MB, free: 116.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.6261, allocations: 476.8 kB / 494.9 MB, free: 115.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/0.629, allocations: 1.431 MB / 496.3 MB, free: 115.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005394/0.6344, allocations: 9.237 MB / 0.4937 GB, free: 105.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.6446, allocations: 11.69 MB / 0.5051 GB, free: 95.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002843/0.6449, allocations: 59.75 kB / 0.5052 GB, free: 95.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.02514/0.67, allocations: 11.32 MB / 0.5162 GB, free: 88.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.6701, allocations: 88.25 kB / 0.5163 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002639/0.6704, allocations: 180 kB / 0.5165 GB, free: 88.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009599/0.68, allocations: 3.741 MB / 0.5201 GB, free: 86.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/0.685, allocations: 2.127 MB / 0.5222 GB, free: 84.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.6997, allocations: 11.3 MB / 0.5332 GB, free: 72.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/0.7064, allocations: 0.6388 MB / 0.5338 GB, free: 72.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/0.7084, allocations: 0.5312 MB / 0.5344 GB, free: 71.78 MB / 362.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.003376/0.7118, allocations: 0.9292 MB / 0.5353 GB, free: 70.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/0.7132, allocations: 0.6526 MB / 0.5359 GB, free: 70.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.7235, allocations: 5.974 MB / 0.5417 GB, free: 64.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.485e-05/0.7236, allocations: 36 kB / 0.5418 GB, free: 64.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.873e-05/0.7236, allocations: 23.98 kB / 0.5418 GB, free: 64.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.531e-05/0.7237, allocations: 19.88 kB / 0.5418 GB, free: 64.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02313/0.7468, allocations: 12.79 MB / 0.5543 GB, free: 51.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.7468, allocations: 0 / 0.5543 GB, free: 51.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.7486, allocations: 0.5382 MB / 0.5548 GB, free: 50.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007956/0.7566, allocations: 3.423 MB / 0.5582 GB, free: 47.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006686/0.7573, allocations: 59.98 kB / 0.5582 GB, free: 47.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.7734, allocations: 9.757 MB / 0.5678 GB, free: 37.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7734, allocations: 0 / 0.5678 GB, free: 37.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.7899, allocations: 7.471 MB / 0.5751 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/0.793, allocations: 1.093 MB / 0.5761 GB, free: 28.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/0.7944, allocations: 56 kB / 0.5762 GB, free: 28.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/0.7978, allocations: 347 kB / 0.5765 GB, free: 28.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008912/0.7987, allocations: 234 kB / 0.5767 GB, free: 28.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/0.7989, allocations: 84 kB / 0.5768 GB, free: 28.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004088/0.803, allocations: 2.388 MB / 0.5792 GB, free: 25.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.803, allocations: 0 / 0.5792 GB, free: 25.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01097/0.814, allocations: 2.209 MB / 0.5813 GB, free: 23.51 MB / 362.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.001216/0.8152, allocations: 242.5 kB / 0.5815 GB, free: 23.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01166/0.8269, allocations: 6.022 MB / 0.5874 GB, free: 17.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8269, allocations: 0 / 0.5874 GB, free: 17.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.8303, allocations: 2.242 MB / 0.5896 GB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/0.8343, allocations: 0.7169 MB / 0.5903 GB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.8567, allocations: 12.96 MB / 0.603 GB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/0.8596, allocations: 2.034 MB / 0.605 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005487/0.8651, allocations: 2.329 MB / 0.6072 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.8664, allocations: 376.4 kB / 0.6076 GB, free: 12.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.785e-06/0.8665, allocations: 0 / 0.6076 GB, free: 12.39 MB / 378.7 MB Notification: Performance of Templates: time 0.2192/1.086, allocations: 81.91 MB / 0.6876 GB, free: 54.51 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.463716269936413]