Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001534, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 99.22 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5269/0.5269, allocations: 43.54 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004907, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6135, allocations: 112.8 MB / 0.5889 GB, free: 5.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.6138, allocations: 83.95 kB / 0.589 GB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9156/1.529, allocations: 136.3 MB / 0.7221 GB, free: 87.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.529, allocations: 0 / 0.7221 GB, free: 87.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005454/1.53, allocations: 135.7 kB / 0.7222 GB, free: 87.2 MB / 490.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.03414/1.564, allocations: 7.672 MB / 0.7297 GB, free: 84.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.564, allocations: 11.78 kB / 0.7297 GB, free: 84.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05633/1.621, allocations: 7.558 MB / 0.7371 GB, free: 83.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03583/1.656, allocations: 9.847 MB / 0.7467 GB, free: 81.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000631/1.657, allocations: 495.4 kB / 0.7472 GB, free: 81.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00386/1.661, allocations: 0.657 MB / 0.7479 GB, free: 81.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05202/1.713, allocations: 16.73 MB / 0.7642 GB, free: 72.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005475/1.714, allocations: 98.64 kB / 0.7643 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003228/1.717, allocations: 312.6 kB / 0.7646 GB, free: 72.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/1.721, allocations: 1.589 MB / 0.7661 GB, free: 72.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04463/1.765, allocations: 13.77 MB / 0.7796 GB, free: 66.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1175/1.883, allocations: 74.43 MB / 0.8523 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3996/2.282, allocations: 7.726 MB / 0.8598 GB, free: 94.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04736/2.33, allocations: 18.7 MB / 0.8781 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/2.33, allocations: 64.64 kB / 0.8781 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 7.043e-06/2.33, allocations: 0 / 0.8781 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=370): time 0.3054/2.635, allocations: 49.49 MB / 0.9265 GB, free: 80.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/2.636, allocations: 276.9 kB / 0.9267 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/2.65, allocations: 5.399 MB / 0.932 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/2.651, allocations: 83.05 kB / 0.9321 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004148/2.655, allocations: 4.568 MB / 0.9365 GB, free: 74.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002352/2.658, allocations: 1.361 MB / 0.9379 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/2.66, allocations: 189.4 kB / 0.9381 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000924/2.661, allocations: 0.6972 MB / 0.9387 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/2.671, allocations: 3.777 MB / 0.9424 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01386/2.685, allocations: 8.982 MB / 0.9512 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/2.699, allocations: 5.643 MB / 0.9567 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.699, allocations: 55.31 kB / 0.9568 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05504/2.754, allocations: 15.9 MB / 0.9723 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/2.754, allocations: 80 kB / 0.9724 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004139/2.754, allocations: 184 kB / 0.9725 GB, free: 54.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03394/2.788, allocations: 4.071 MB / 0.9765 GB, free: 51.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01782/2.806, allocations: 2.041 MB / 0.9785 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06572/2.872, allocations: 21.74 MB / 0.9997 GB, free: 31.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/2.884, allocations: 0.5495 MB / 1 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/2.886, allocations: 0.5289 MB / 1.001 GB, free: 30.2 MB / 0.4948 GB 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.009407/2.896, allocations: 3.133 MB / 1.004 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/2.897, allocations: 0.5708 MB / 1.004 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03835/2.936, allocations: 9.568 MB / 1.014 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.639e-05/2.936, allocations: 40 kB / 1.014 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.895e-05/2.936, allocations: 16 kB / 1.014 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/2.936, allocations: 15.94 kB / 1.014 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06658/3.003, allocations: 19.06 MB / 1.032 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-05/3.003, allocations: 0 / 1.032 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005308/3.008, allocations: 0.4993 MB / 1.033 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02384/3.032, allocations: 3.625 MB / 1.036 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009642/3.033, allocations: 59.98 kB / 1.037 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4216/3.455, allocations: 19.62 MB / 1.056 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/3.455, allocations: 2.828 kB / 1.056 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04531/3.5, allocations: 14.12 MB / 1.069 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004524/3.505, allocations: 1.126 MB / 1.071 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/3.506, allocations: 62.28 kB / 1.071 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005749/3.512, allocations: 220.8 kB / 1.071 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/3.514, allocations: 224.3 kB / 1.071 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004118/3.514, allocations: 96.23 kB / 1.071 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009929/3.524, allocations: 3.806 MB / 1.075 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.71e-07/3.524, allocations: 2.75 kB / 1.075 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01175/3.536, allocations: 1.851 MB / 1.077 GB, free: 110.5 MB / 0.5261 GB 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.001317/3.537, allocations: 229.9 kB / 1.077 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02448/3.562, allocations: 9.663 MB / 1.086 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/3.562, allocations: 0 / 1.086 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/3.572, allocations: 3.797 MB / 1.09 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/3.579, allocations: 0.72 MB / 1.091 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04714/3.626, allocations: 19.18 MB / 1.109 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/3.638, allocations: 5.022 MB / 1.114 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/3.641, allocations: 445 kB / 1.115 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of SimCode: time 9.31e-07/3.641, allocations: 3.656 kB / 1.115 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.644/4.285, allocations: 146.2 MB / 1.258 GB, free: 112.6 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches