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.001203/0.001203, allocations: 171.8 kB / 17.39 MB, free: 4.395 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.295/1.295, allocations: 223.3 MB / 241.4 MB, free: 9.949 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.000748/0.0007479, allocations: 93.14 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 15.94 kB / 352.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 50.4 MB / 402.8 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.3616, allocations: 105.1 MB / 0.496 GB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.362, allocations: 92.89 kB / 0.496 GB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5731/0.9351, allocations: 135.2 MB / 0.6281 GB, free: 460 kB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.9352, allocations: 4 kB / 0.6281 GB, free: 456 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005198/0.9357, allocations: 128 kB / 0.6282 GB, free: 328 kB / 394.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.02552/0.9612, allocations: 7.347 MB / 0.6354 GB, free: 8.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.9613, allocations: 8.031 kB / 0.6354 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03703/0.9983, allocations: 5.853 MB / 0.6411 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02652/1.025, allocations: 7.787 MB / 0.6487 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006613/1.026, allocations: 489.3 kB / 0.6492 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003986/1.03, allocations: 0.6601 MB / 0.6498 GB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2786/1.308, allocations: 16.55 MB / 0.666 GB, free: 56.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004582/1.309, allocations: 107.2 kB / 0.6661 GB, free: 56.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/1.311, allocations: 313.7 kB / 0.6664 GB, free: 56.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/1.313, allocations: 1.583 MB / 0.6679 GB, free: 56.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/1.342, allocations: 13.54 MB / 0.6812 GB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07943/1.422, allocations: 74.19 MB / 0.7536 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.442, allocations: 7.742 MB / 0.7612 GB, free: 23.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00498/1.447, allocations: 4.017 MB / 0.7651 GB, free: 21.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02957/1.477, allocations: 18.51 MB / 0.7832 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.676e-05/1.477, allocations: 65.31 kB / 0.7832 GB, free: 12.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 7.654e-06/1.477, allocations: 0 / 0.7832 GB, free: 12.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1677/1.645, allocations: 49.14 MB / 0.8312 GB, free: 7.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.645, allocations: 273.8 kB / 0.8315 GB, free: 6.699 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.657, allocations: 6.028 MB / 0.8374 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007991/1.658, allocations: 81.7 kB / 0.8375 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2305/1.888, allocations: 4.777 MB / 0.8421 GB, free: 105.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.89, allocations: 1.361 MB / 0.8434 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008293/1.891, allocations: 183.8 kB / 0.8436 GB, free: 104.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003904/1.891, allocations: 0.6988 MB / 0.8443 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004883/1.896, allocations: 3.774 MB / 0.848 GB, free: 104.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006945/1.903, allocations: 9.015 MB / 0.8568 GB, free: 97.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.918, allocations: 13.85 MB / 0.8703 GB, free: 91.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000259/1.918, allocations: 51.97 kB / 0.8704 GB, free: 91.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03403/1.952, allocations: 16.12 MB / 0.8861 GB, free: 89.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002877/1.952, allocations: 84.44 kB / 0.8862 GB, free: 89.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003402/1.953, allocations: 185.2 kB / 0.8864 GB, free: 89.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/1.965, allocations: 4.044 MB / 0.8903 GB, free: 89.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007118/1.972, allocations: 2.034 MB / 0.8923 GB, free: 89.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02823/2, allocations: 20.97 MB / 0.9128 GB, free: 80.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007751/2.008, allocations: 0.5472 MB / 0.9133 GB, free: 80.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/2.01, allocations: 0.5308 MB / 0.9138 GB, free: 79.94 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.008796/2.019, allocations: 3.122 MB / 0.9169 GB, free: 78.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.021, allocations: 0.5735 MB / 0.9174 GB, free: 78.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02037/2.041, allocations: 9.557 MB / 0.9268 GB, free: 75.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/2.041, allocations: 39.94 kB / 0.9268 GB, free: 75.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.196e-05/2.041, allocations: 18.25 kB / 0.9268 GB, free: 75.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.112e-05/2.041, allocations: 14.58 kB / 0.9268 GB, free: 75.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03959/2.081, allocations: 19.06 MB / 0.9455 GB, free: 61.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/2.081, allocations: 0 / 0.9455 GB, free: 61.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/2.084, allocations: 0.5015 MB / 0.9459 GB, free: 60.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/2.095, allocations: 3.627 MB / 0.9495 GB, free: 58.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008124/2.096, allocations: 63.5 kB / 0.9496 GB, free: 58.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/2.121, allocations: 18.9 MB / 0.968 GB, free: 42.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.121, allocations: 0 / 0.968 GB, free: 42.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02533/2.146, allocations: 14 MB / 0.9817 GB, free: 30.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/2.148, allocations: 0.5828 MB / 0.9823 GB, free: 30.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/2.15, allocations: 63.31 kB / 0.9823 GB, free: 30.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/2.154, allocations: 219.3 kB / 0.9825 GB, free: 30.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/2.155, allocations: 234.5 kB / 0.9827 GB, free: 29.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000515/2.155, allocations: 95.05 kB / 0.9828 GB, free: 29.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007496/2.163, allocations: 3.763 MB / 0.9865 GB, free: 26.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.163, allocations: 1.031 kB / 0.9865 GB, free: 26.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01105/2.174, allocations: 1.846 MB / 0.9883 GB, free: 24.56 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.001214/2.175, allocations: 226.2 kB / 0.9885 GB, free: 24.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01523/2.191, allocations: 9.67 MB / 0.998 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/2.191, allocations: 1.938 kB / 0.998 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005704/2.196, allocations: 3.792 MB / 1.002 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006545/2.203, allocations: 0.7639 MB / 1.002 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2144/2.417, allocations: 18.45 MB / 1.02 GB, free: 87.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005802/2.423, allocations: 4.863 MB / 1.025 GB, free: 86.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007234/2.43, allocations: 2.809 MB / 1.028 GB, free: 86.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/2.432, allocations: 379.4 kB / 1.028 GB, free: 86.81 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/2.432, allocations: 0 / 1.028 GB, free: 86.81 MB / 474.7 MB Notification: Performance of Templates: time 0.1147/2.546, allocations: 75.03 MB / 1.102 GB, free: 63.73 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/jenkins1/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