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.001167/0.001167, allocations: 108.5 kB / 17.16 MB, free: 6.305 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.0009983/0.0009984, allocations: 198 kB / 18.07 MB, free: 5.41 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.375/1.375, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001322/0.001322, allocations: 47.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1002, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2473/0.3475, allocations: 73.22 MB / 399.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03586/0.3834, allocations: 14.71 MB / 414.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01862/0.4022, allocations: 323.3 kB / 414.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007729/0.4099, allocations: 4.354 MB / 419.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007043/0.417, allocations: 2.592 MB / 421.8 MB, free: 364 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.4202, allocations: 1.358 MB / 423.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01446/0.4346, allocations: 11.44 MB / 434.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007486/0.4422, allocations: 5.303 MB / 439.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.4477, allocations: 2.415 MB / 442.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007132/0.4549, allocations: 4.113 MB / 446.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001825/0.4567, allocations: 388 kB / 446.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.4611, allocations: 1.535 MB / 448.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003532/0.4646, allocations: 3.244 MB / 451.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005214/0.4698, allocations: 3.509 MB / 455.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4815, allocations: 10.75 MB / 465.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4816, allocations: 4 kB / 465.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4816, allocations: 0 / 465.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000361/0.482, allocations: 0 / 465.9 MB, free: 8.473 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.0215/0.5035, allocations: 8.235 MB / 474.1 MB, free: 316 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.5036, allocations: 12.03 kB / 474.1 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0298/0.5334, allocations: 3.672 MB / 477.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.5497, allocations: 5.49 MB / 483.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.5502, allocations: 367.8 kB / 483.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/0.5535, allocations: 0.5195 MB / 484.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04797/0.6015, allocations: 16.24 MB / 0.4887 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004955/0.602, allocations: 75.27 kB / 0.4887 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/0.6043, allocations: 240.3 kB / 0.489 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005326/0.6096, allocations: 2.929 MB / 0.4918 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03161/0.6413, allocations: 13.7 MB / 0.5052 GB, free: 4.297 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.3007/0.9421, allocations: 64.84 MB / 0.5685 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0229/0.965, allocations: 7.869 MB / 0.5762 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005974/0.971, allocations: 4.345 MB / 0.5804 GB, free: 119.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02912/1, allocations: 19.37 MB / 0.5994 GB, free: 108.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.969e-05/1, allocations: 70.75 kB / 0.5994 GB, free: 108.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 6.222e-06/1, allocations: 3.25 kB / 0.5994 GB, free: 108.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.176/1.176, allocations: 49.9 MB / 0.6482 GB, free: 59.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/1.177, allocations: 273.8 kB / 0.6484 GB, free: 59.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/1.192, allocations: 6.087 MB / 0.6544 GB, free: 53.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001202/1.193, allocations: 85.7 kB / 0.6544 GB, free: 52.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004758/1.198, allocations: 4.678 MB / 0.659 GB, free: 48.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/1.2, allocations: 1.37 MB / 0.6603 GB, free: 46.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006663/1.207, allocations: 1.912 MB / 0.6622 GB, free: 45.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/1.207, allocations: 301.1 kB / 0.6625 GB, free: 44.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009378/1.216, allocations: 4.224 MB / 0.6666 GB, free: 40.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008298/1.225, allocations: 9.457 MB / 0.6759 GB, free: 28.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/1.24, allocations: 14.64 MB / 0.6902 GB, free: 11.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000188/1.24, allocations: 52 kB / 0.6902 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04045/1.281, allocations: 17.55 MB / 0.7073 GB, free: 9.719 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/1.281, allocations: 80 kB / 0.7074 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003466/1.281, allocations: 184 kB / 0.7076 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01618/1.298, allocations: 4.539 MB / 0.712 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008449/1.306, allocations: 2.133 MB / 0.7141 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2419/1.548, allocations: 23.64 MB / 0.7372 GB, free: 150.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009963/1.558, allocations: 0.5363 MB / 0.7377 GB, free: 150.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002329/1.561, allocations: 0.5326 MB / 0.7382 GB, free: 150.3 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.007828/1.568, allocations: 3.128 MB / 0.7413 GB, free: 149.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.57, allocations: 0.5645 MB / 0.7418 GB, free: 149.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/1.591, allocations: 10.71 MB / 0.7523 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.236e-05/1.591, allocations: 38.09 kB / 0.7523 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/1.591, allocations: 20.38 kB / 0.7524 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-05/1.591, allocations: 15.09 kB / 0.7524 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04177/1.633, allocations: 20.52 MB / 0.7724 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/1.633, allocations: 1.078 kB / 0.7724 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002977/1.636, allocations: 0.5324 MB / 0.7729 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01292/1.649, allocations: 4.189 MB / 0.777 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009755/1.65, allocations: 67.66 kB / 0.7771 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/1.679, allocations: 21.47 MB / 0.7981 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.679, allocations: 5.875 kB / 0.7981 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02858/1.707, allocations: 15.64 MB / 0.8133 GB, free: 88.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003741/1.711, allocations: 1.177 MB / 0.8145 GB, free: 87.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001946/1.713, allocations: 56 kB / 0.8145 GB, free: 87.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003871/1.717, allocations: 215.8 kB / 0.8148 GB, free: 87.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/1.718, allocations: 229.8 kB / 0.815 GB, free: 87.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004584/1.718, allocations: 99.5 kB / 0.8151 GB, free: 87.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007197/1.726, allocations: 3.808 MB / 0.8188 GB, free: 83.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.726, allocations: 0 / 0.8188 GB, free: 83.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01159/1.737, allocations: 1.931 MB / 0.8207 GB, free: 81.39 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.001206/1.738, allocations: 225.7 kB / 0.8209 GB, free: 81.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01712/1.756, allocations: 10.5 MB / 0.8311 GB, free: 70.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.756, allocations: 7.062 kB / 0.8311 GB, free: 70.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006232/1.762, allocations: 4.109 MB / 0.8352 GB, free: 66.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006369/1.768, allocations: 0.7329 MB / 0.8359 GB, free: 65.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/1.801, allocations: 19.72 MB / 0.8551 GB, free: 46.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009137/1.81, allocations: 4.881 MB / 0.8599 GB, free: 41.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009138/1.819, allocations: 2.785 MB / 0.8626 GB, free: 38.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/1.821, allocations: 379.4 kB / 0.863 GB, free: 38.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/1.821, allocations: 1.312 kB / 0.863 GB, free: 38.09 MB / 462.1 MB Notification: Performance of Templates: time 0.3606/2.182, allocations: 81.65 MB / 0.9427 GB, free: 111.8 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/jenkins/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