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.001296/0.001296, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001408/0.001408, allocations: 215.3 kB / 23 MB, free: 5.609 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.524/1.524, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.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 0.001892/0.001892, allocations: 63.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2601, allocations: 53.33 MB / 429.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.021/0.2811, allocations: 17.34 MB / 447.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.2961, allocations: 5.535 MB / 452.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004479/0.3005, allocations: 115.6 kB / 452.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009295/0.3098, allocations: 4.415 MB / 457.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008243/0.3181, allocations: 2.793 MB / 460 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.3218, allocations: 1.462 MB / 461.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01322/0.335, allocations: 8.651 MB / 470.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007122/0.3422, allocations: 4.016 MB / 474.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/0.3475, allocations: 2.663 MB / 476.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/0.3545, allocations: 4.152 MB / 481 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002405/0.3569, allocations: 0.539 MB / 481.5 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.3614, allocations: 1.662 MB / 483.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005255/0.3667, allocations: 3.42 MB / 486.6 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006817/0.3735, allocations: 3.631 MB / 490.2 MB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.3897, allocations: 11.19 MB / 0.4897 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3897, allocations: 0 / 0.4897 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3897, allocations: 0 / 0.4897 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004177/0.3901, allocations: 0 / 0.4897 GB, free: 15.79 MB / 414.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.02274/0.4129, allocations: 8.394 MB / 0.4978 GB, free: 7.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4129, allocations: 8.031 kB / 0.4979 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/0.4408, allocations: 3.721 MB / 0.5015 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.4535, allocations: 5.315 MB / 0.5067 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.4539, allocations: 369.5 kB / 0.507 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.4558, allocations: 0.5074 MB / 0.5075 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03178/0.4876, allocations: 16.26 MB / 0.5234 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.4878, allocations: 83.39 kB / 0.5235 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007068/0.4885, allocations: 227.8 kB / 0.5237 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00478/0.4933, allocations: 2.93 MB / 0.5266 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2522/0.7455, allocations: 13.72 MB / 0.54 GB, free: 90.67 MB / 446.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.06405/0.8095, allocations: 64.64 MB / 0.6031 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01897/0.8285, allocations: 7.564 MB / 0.6105 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004586/0.8331, allocations: 3.983 MB / 0.6144 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/0.8554, allocations: 19.47 MB / 0.6334 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.8555, allocations: 68.56 kB / 0.6334 GB, free: 3.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 5.39e-06/0.8555, allocations: 0 / 0.6334 GB, free: 3.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1748/1.03, allocations: 50.16 MB / 0.6824 GB, free: 2.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/1.03, allocations: 273.8 kB / 0.6827 GB, free: 1.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009829/1.04, allocations: 6.057 MB / 0.6886 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.041, allocations: 77.7 kB / 0.6887 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004943/1.046, allocations: 4.849 MB / 0.6934 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002599/1.049, allocations: 1.434 MB / 0.6948 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003402/1.052, allocations: 1.929 MB / 0.6967 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.052, allocations: 301.1 kB / 0.697 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006781/1.059, allocations: 4.231 MB / 0.7011 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0115/1.071, allocations: 9.465 MB / 0.7104 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02076/1.091, allocations: 14.64 MB / 0.7246 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/1.092, allocations: 52 kB / 0.7247 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.2431/1.335, allocations: 17.53 MB / 0.7418 GB, free: 179.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/1.335, allocations: 82.22 kB / 0.7419 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003737/1.335, allocations: 181.5 kB / 0.7421 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/1.35, allocations: 4.546 MB / 0.7465 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007267/1.357, allocations: 2.135 MB / 0.7486 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/1.388, allocations: 25.39 MB / 0.7734 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007224/1.395, allocations: 0.5298 MB / 0.7739 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.396, allocations: 0.532 MB / 0.7744 GB, free: 169.7 MB / 0.545 GB 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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004219/1.4, allocations: 3.117 MB / 0.7775 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.401, allocations: 0.5996 MB / 0.7781 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.421, allocations: 10.65 MB / 0.7885 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/1.421, allocations: 40 kB / 0.7885 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.421, allocations: 16 kB / 0.7885 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.852e-05/1.421, allocations: 18.09 kB / 0.7885 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03294/1.454, allocations: 20.33 MB / 0.8084 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.454, allocations: 4 kB / 0.8084 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.456, allocations: 0.5429 MB / 0.8089 GB, free: 140.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/1.468, allocations: 4.177 MB / 0.813 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/1.468, allocations: 63.98 kB / 0.8131 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02604/1.494, allocations: 23.13 MB / 0.8356 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.494, allocations: 5.281 kB / 0.8356 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0239/1.518, allocations: 15.64 MB / 0.8509 GB, free: 98.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.52, allocations: 0.6186 MB / 0.8515 GB, free: 97.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007828/1.52, allocations: 67.02 kB / 0.8516 GB, free: 97.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.523, allocations: 219.7 kB / 0.8518 GB, free: 97.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/1.524, allocations: 229.9 kB / 0.852 GB, free: 96.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/1.524, allocations: 95.98 kB / 0.8521 GB, free: 96.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004448/1.528, allocations: 3.768 MB / 0.8558 GB, free: 93.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.528, allocations: 0 / 0.8558 GB, free: 93.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007748/1.536, allocations: 1.903 MB / 0.8576 GB, free: 91.19 MB / 0.545 GB 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.000695/1.537, allocations: 227.3 kB / 0.8579 GB, free: 91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.551, allocations: 10.06 MB / 0.8677 GB, free: 81.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.551, allocations: 0 / 0.8677 GB, free: 81.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005045/1.556, allocations: 3.797 MB / 0.8714 GB, free: 77.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/1.561, allocations: 0.7795 MB / 0.8722 GB, free: 76.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/1.585, allocations: 16.6 MB / 0.8884 GB, free: 59.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005244/1.591, allocations: 4.855 MB / 0.8931 GB, free: 54.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005705/1.596, allocations: 2.785 MB / 0.8958 GB, free: 52.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.597, allocations: 375.4 kB / 0.8962 GB, free: 51.83 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/1.597, allocations: 0 / 0.8962 GB, free: 51.83 MB / 0.545 GB Notification: Performance of Templates: time 0.32/1.917, allocations: 79.86 MB / 0.9742 GB, free: 169.2 MB / 0.545 GB " [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.908002885989845]