Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 181.3 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.000861, allocations: 99.11 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 11.94 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2386, allocations: 50.42 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3633, allocations: 104.9 MB / 0.4946 GB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.3637, allocations: 91.94 kB / 0.4947 GB, free: 7.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4912/0.8549, allocations: 137.8 MB / 0.6292 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8549, allocations: 0 / 0.6292 GB, free: 14.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005076/0.8555, allocations: 132 kB / 0.6294 GB, free: 14.09 MB / 410.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.02656/0.8821, allocations: 7.612 MB / 0.6368 GB, free: 6.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8821, allocations: 12.02 kB / 0.6368 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03249/0.9146, allocations: 7.553 MB / 0.6442 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02629/0.941, allocations: 9.133 MB / 0.6531 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005431/0.9415, allocations: 488.9 kB / 0.6536 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/0.9446, allocations: 0.6597 MB / 0.6542 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.266/1.211, allocations: 16.73 MB / 0.6706 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004077/1.211, allocations: 101 kB / 0.6707 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001942/1.213, allocations: 315.8 kB / 0.671 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/1.215, allocations: 1.579 MB / 0.6725 GB, free: 55.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/1.243, allocations: 13.77 MB / 0.6859 GB, free: 55.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07266/1.316, allocations: 74.32 MB / 0.7585 GB, free: 23.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/1.335, allocations: 7.752 MB / 0.7661 GB, free: 20.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02712/1.362, allocations: 18.65 MB / 0.7843 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.363, allocations: 67.95 kB / 0.7844 GB, free: 10.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 5.59e-06/1.363, allocations: 0 / 0.7844 GB, free: 10.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1913/1.554, allocations: 50.98 MB / 0.8342 GB, free: 1.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/1.554, allocations: 265.8 kB / 0.8344 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2294/1.784, allocations: 5.345 MB / 0.8396 GB, free: 103.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000755/1.784, allocations: 86.67 kB / 0.8397 GB, free: 103.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.787, allocations: 4.758 MB / 0.8444 GB, free: 102.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.788, allocations: 1.364 MB / 0.8457 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004933/1.789, allocations: 183.9 kB / 0.8459 GB, free: 101.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003318/1.789, allocations: 0.693 MB / 0.8465 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004442/1.794, allocations: 3.778 MB / 0.8502 GB, free: 101.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006983/1.801, allocations: 8.981 MB / 0.859 GB, free: 94.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008972/1.81, allocations: 5.647 MB / 0.8645 GB, free: 94.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002636/1.81, allocations: 51.22 kB / 0.8646 GB, free: 94.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03634/1.846, allocations: 16.12 MB / 0.8803 GB, free: 93.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.846, allocations: 83.88 kB / 0.8804 GB, free: 93.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002781/1.847, allocations: 184.1 kB / 0.8806 GB, free: 93.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/1.86, allocations: 4.067 MB / 0.8845 GB, free: 93.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007682/1.867, allocations: 2.046 MB / 0.8865 GB, free: 93.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02886/1.896, allocations: 21.72 MB / 0.9077 GB, free: 83.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008844/1.905, allocations: 0.5472 MB / 0.9083 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/1.907, allocations: 0.5246 MB / 0.9088 GB, free: 83.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1088): * Single equations (assignments): 1083 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00679/1.914, allocations: 3.119 MB / 0.9118 GB, free: 81.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.915, allocations: 0.5749 MB / 0.9124 GB, free: 81.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/1.935, allocations: 9.561 MB / 0.9217 GB, free: 78.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-05/1.935, allocations: 37.88 kB / 0.9218 GB, free: 78.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.924e-05/1.935, allocations: 16 kB / 0.9218 GB, free: 78.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.03e-05/1.936, allocations: 21.27 kB / 0.9218 GB, free: 78.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04199/1.978, allocations: 19.05 MB / 0.9404 GB, free: 63.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.614e-05/1.978, allocations: 0 / 0.9404 GB, free: 63.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/1.981, allocations: 0.5098 MB / 0.9409 GB, free: 63.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01224/1.993, allocations: 3.612 MB / 0.9444 GB, free: 60.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001098/1.994, allocations: 62.88 kB / 0.9445 GB, free: 60.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02833/2.023, allocations: 19.64 MB / 0.9637 GB, free: 44.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.023, allocations: 4.031 kB / 0.9637 GB, free: 44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02947/2.052, allocations: 14.11 MB / 0.9775 GB, free: 32.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/2.054, allocations: 0.589 MB / 0.978 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/2.056, allocations: 63.61 kB / 0.9781 GB, free: 31.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004114/2.06, allocations: 220.2 kB / 0.9783 GB, free: 31.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/2.061, allocations: 232.4 kB / 0.9785 GB, free: 31.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000514/2.062, allocations: 84 kB / 0.9786 GB, free: 31.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007856/2.07, allocations: 3.766 MB / 0.9823 GB, free: 28.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.07, allocations: 0 / 0.9823 GB, free: 28.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01301/2.083, allocations: 1.842 MB / 0.9841 GB, free: 26.45 MB / 474.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 (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/2.084, allocations: 240.6 kB / 0.9843 GB, free: 26.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01673/2.101, allocations: 9.66 MB / 0.9937 GB, free: 17.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/2.101, allocations: 0 / 0.9937 GB, free: 17.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005546/2.107, allocations: 3.798 MB / 0.9975 GB, free: 13.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/2.111, allocations: 0.7159 MB / 0.9982 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2818/2.393, allocations: 18.39 MB / 1.016 GB, free: 85.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007421/2.4, allocations: 4.999 MB / 1.021 GB, free: 84.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008146/2.409, allocations: 2.814 MB / 1.024 GB, free: 84.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/2.41, allocations: 379.5 kB / 1.024 GB, free: 84.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/2.41, allocations: 0 / 1.024 GB, free: 84.62 MB / 474.7 MB Notification: Performance of Templates: time 0.1333/2.544, allocations: 74.77 MB / 1.097 GB, free: 63.61 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches