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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.08 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2132, allocations: 50.54 MB / 410 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01835/0.2316, allocations: 17.24 MB / 427.2 MB, free: 280 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.2419, allocations: 5.475 MB / 432.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.2442, allocations: 119.6 kB / 432.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007754/0.252, allocations: 4.353 MB / 437.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005908/0.2579, allocations: 2.793 MB / 439.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.2607, allocations: 1.459 MB / 441.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.2708, allocations: 8.659 MB / 450 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006159/0.277, allocations: 5.363 MB / 455.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.2804, allocations: 2.656 MB / 458.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004967/0.2854, allocations: 3.832 MB / 461.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.2868, allocations: 0.5352 MB / 462.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.2899, allocations: 1.619 MB / 464.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003362/0.2933, allocations: 3.367 MB / 467.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003729/0.297, allocations: 3.631 MB / 471.1 MB, free: 4.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3072, allocations: 11.19 MB / 482.2 MB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3072, allocations: 0 / 482.2 MB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3073, allocations: 3.938 kB / 482.2 MB, free: 8.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.3074, allocations: 0 / 482.2 MB, free: 8.988 MB / 398.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.01436/0.3218, allocations: 8.394 MB / 490.6 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3218, allocations: 8.031 kB / 490.6 MB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02654/0.3484, allocations: 3.717 MB / 494.4 MB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.3601, allocations: 5.319 MB / 499.7 MB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.3604, allocations: 369.5 kB / 0.4883 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.3616, allocations: 0.5113 MB / 0.4888 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.3868, allocations: 16.25 MB / 0.5047 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.387, allocations: 79.39 kB / 0.5048 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005686/0.3876, allocations: 239.8 kB / 0.505 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004355/0.3919, allocations: 2.923 MB / 0.5078 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.4169, allocations: 13.72 MB / 0.5213 GB, free: 4.184 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.2422/0.6592, allocations: 64.64 MB / 0.5844 GB, free: 74.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01952/0.6787, allocations: 7.881 MB / 0.5921 GB, free: 71.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004469/0.6832, allocations: 4.34 MB / 0.5963 GB, free: 69.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02244/0.7057, allocations: 19.47 MB / 0.6153 GB, free: 51.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.7057, allocations: 71.97 kB / 0.6154 GB, free: 51.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=290): time 4.609e-06/0.7057, allocations: 0 / 0.6154 GB, free: 51.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=372): time 0.1483/0.854, allocations: 50.2 MB / 0.6644 GB, free: 1.102 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.8541, allocations: 269.8 kB / 0.6647 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007515/0.8616, allocations: 6.056 MB / 0.6706 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005528/0.8622, allocations: 85.61 kB / 0.6707 GB, free: 10.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002921/0.8651, allocations: 4.842 MB / 0.6754 GB, free: 6.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002023/0.8672, allocations: 1.435 MB / 0.6768 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004358/0.8716, allocations: 1.924 MB / 0.6787 GB, free: 2.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8717, allocations: 305.1 kB / 0.679 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009724/0.8814, allocations: 4.242 MB / 0.6831 GB, free: 14.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01393/0.8954, allocations: 9.461 MB / 0.6924 GB, free: 2.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02501/0.9204, allocations: 14.64 MB / 0.7067 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/0.9206, allocations: 52 kB / 0.7067 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04155/0.9621, allocations: 17.6 MB / 0.7239 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.9623, allocations: 84 kB / 0.724 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/0.9625, allocations: 184.2 kB / 0.7242 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/0.9768, allocations: 4.542 MB / 0.7286 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006882/0.9837, allocations: 2.129 MB / 0.7307 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2232/1.207, allocations: 25.38 MB / 0.7555 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/1.214, allocations: 0.5346 MB / 0.756 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.215, allocations: 0.5397 MB / 0.7565 GB, free: 170.3 MB / 0.5294 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.00404/1.219, allocations: 3.116 MB / 0.7595 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000866/1.22, allocations: 0.5983 MB / 0.7601 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.239, allocations: 10.72 MB / 0.7706 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/1.239, allocations: 18.91 kB / 0.7706 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.239, allocations: 0 / 0.7706 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.24, allocations: 0.6182 MB / 0.7712 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008307/1.241, allocations: 63.19 kB / 0.7713 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/1.244, allocations: 225.5 kB / 0.7715 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/1.245, allocations: 297.9 kB / 0.7718 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01843/1.263, allocations: 10.41 MB / 0.7819 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01191/1.275, allocations: 11.53 MB / 0.7932 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003155/1.278, allocations: 3.247 MB / 0.7964 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004123/1.282, allocations: 3.769 MB / 0.8001 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of Backend: time 3.61e-07/1.282, allocations: 0 / 0.8001 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.293, allocations: 7.94 MB / 0.8078 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01752/1.311, allocations: 15.28 MB / 0.8227 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.123/1.434, allocations: 93.72 MB / 0.9143 GB, free: 23.26 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches