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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001535, allocations: 114.5 kB / 17.93 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 189.9 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.92 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 46.63 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2876/0.391, allocations: 73.23 MB / 400.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03712/0.4282, allocations: 14.59 MB / 415.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02015/0.4484, allocations: 322.1 kB / 415.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007939/0.4564, allocations: 4.201 MB / 419.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.4665, allocations: 2.58 MB / 422.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.4702, allocations: 1.371 MB / 423.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01227/0.4825, allocations: 8.382 MB / 432.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008442/0.491, allocations: 5.665 MB / 437.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006612/0.4977, allocations: 2.76 MB / 440.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007493/0.5052, allocations: 4.271 MB / 444.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002612/0.5079, allocations: 0.5429 MB / 445.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/0.5129, allocations: 1.631 MB / 447 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004961/0.5179, allocations: 3.398 MB / 450.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007356/0.5253, allocations: 3.693 MB / 454.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.537, allocations: 8.831 MB / 462.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5371, allocations: 0 / 462.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5371, allocations: 4 kB / 462.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004213/0.5375, allocations: 0 / 462.9 MB, free: 12.35 MB / 366.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.02386/0.5614, allocations: 8.239 MB / 471.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5615, allocations: 8.031 kB / 471.2 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/0.5899, allocations: 3.679 MB / 474.8 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/0.6038, allocations: 5.482 MB / 480.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/0.6042, allocations: 373 kB / 480.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/0.6069, allocations: 0.5151 MB / 481.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/0.6422, allocations: 16.24 MB / 497.4 MB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000357/0.6426, allocations: 87.2 kB / 497.5 MB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/0.6439, allocations: 234.5 kB / 497.8 MB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005212/0.6491, allocations: 2.917 MB / 0.4889 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0319/0.6811, allocations: 13.72 MB / 0.5023 GB, free: 8.156 MB / 414.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.3175/0.9986, allocations: 64.84 MB / 0.5657 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02233/1.021, allocations: 7.862 MB / 0.5733 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/1.027, allocations: 4.339 MB / 0.5776 GB, free: 120 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03044/1.057, allocations: 19.37 MB / 0.5965 GB, free: 108.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.057, allocations: 63.19 kB / 0.5965 GB, free: 108.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 7.234e-06/1.057, allocations: 3.875 kB / 0.5966 GB, free: 108.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.163/1.22, allocations: 49.91 MB / 0.6453 GB, free: 61.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/1.22, allocations: 273.3 kB / 0.6455 GB, free: 61.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009644/1.23, allocations: 6.094 MB / 0.6515 GB, free: 55.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009967/1.231, allocations: 85.7 kB / 0.6516 GB, free: 55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002805/1.234, allocations: 4.674 MB / 0.6561 GB, free: 50.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002037/1.236, allocations: 1.37 MB / 0.6575 GB, free: 48.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004938/1.241, allocations: 1.912 MB / 0.6594 GB, free: 47.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/1.241, allocations: 309.1 kB / 0.6596 GB, free: 46.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006077/1.247, allocations: 4.22 MB / 0.6638 GB, free: 42.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008933/1.256, allocations: 9.458 MB / 0.673 GB, free: 30.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.271, allocations: 14.63 MB / 0.6873 GB, free: 13.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/1.271, allocations: 52 kB / 0.6873 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03637/1.308, allocations: 17.55 MB / 0.7045 GB, free: 11.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/1.308, allocations: 84 kB / 0.7046 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003366/1.308, allocations: 180 kB / 0.7047 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/1.324, allocations: 4.559 MB / 0.7092 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007965/1.332, allocations: 2.129 MB / 0.7113 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2124/1.544, allocations: 25.39 MB / 0.7361 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00768/1.552, allocations: 0.5215 MB / 0.7366 GB, free: 149.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.554, allocations: 0.5365 MB / 0.7371 GB, free: 149.5 MB / 462.1 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 (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.006072/1.56, allocations: 3.126 MB / 0.7401 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.561, allocations: 0.5645 MB / 0.7407 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02088/1.582, allocations: 10.72 MB / 0.7512 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-05/1.582, allocations: 38.97 kB / 0.7512 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-05/1.583, allocations: 17.41 kB / 0.7512 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.893e-05/1.583, allocations: 21.97 kB / 0.7512 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03827/1.621, allocations: 20.52 MB / 0.7713 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.377e-05/1.621, allocations: 4 kB / 0.7713 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/1.624, allocations: 0.5421 MB / 0.7718 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/1.636, allocations: 4.191 MB / 0.7759 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008538/1.637, allocations: 63.98 kB / 0.776 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/1.665, allocations: 23.13 MB / 0.7986 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.665, allocations: 5.875 kB / 0.7986 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/1.691, allocations: 15.62 MB / 0.8138 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/1.694, allocations: 1.178 MB / 0.815 GB, free: 86.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/1.696, allocations: 56 kB / 0.815 GB, free: 86.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003769/1.699, allocations: 219.6 kB / 0.8152 GB, free: 86.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009923/1.7, allocations: 224.2 kB / 0.8155 GB, free: 85.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003444/1.701, allocations: 102.9 kB / 0.8155 GB, free: 85.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006052/1.707, allocations: 3.805 MB / 0.8193 GB, free: 81.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.202e-06/1.707, allocations: 2 kB / 0.8193 GB, free: 81.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009739/1.717, allocations: 1.939 MB / 0.8212 GB, free: 80.03 MB / 462.1 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.0009495/1.718, allocations: 217.9 kB / 0.8214 GB, free: 79.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02421/1.742, allocations: 15.43 MB / 0.8364 GB, free: 64.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.742, allocations: 4 kB / 0.8364 GB, free: 64.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005971/1.748, allocations: 4.112 MB / 0.8405 GB, free: 60.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006372/1.754, allocations: 0.7863 MB / 0.8412 GB, free: 59.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/1.788, allocations: 20.23 MB / 0.861 GB, free: 39.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007943/1.796, allocations: 4.84 MB / 0.8657 GB, free: 34.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/1.799, allocations: 443.4 kB / 0.8661 GB, free: 34.03 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/1.799, allocations: 0 / 0.8661 GB, free: 34.03 MB / 462.1 MB Notification: Performance of Templates: time 0.38/2.179, allocations: 153.6 MB / 1.016 GB, free: 34.14 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches