Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009135/0.0009134, allocations: 176.4 kB / 16.76 MB, free: 4.902 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.333/1.333, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007232/0.0007233, allocations: 84.92 kB / 271.3 MB, free: 8.242 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.328/0.328, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006477, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1419, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.4694, allocations: 113 MB / 0.5903 GB, free: 4.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4698, allocations: 79.97 kB / 0.5904 GB, free: 4.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5915/1.061, allocations: 133.8 MB / 0.721 GB, free: 87.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.061, allocations: 0 / 0.721 GB, free: 87.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003543/1.062, allocations: 127.4 kB / 0.7211 GB, free: 87.05 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.02274/1.084, allocations: 7.39 MB / 0.7283 GB, free: 84.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.084, allocations: 9.25 kB / 0.7283 GB, free: 84.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02367/1.108, allocations: 5.854 MB / 0.734 GB, free: 83.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1.126, allocations: 8.493 MB / 0.7423 GB, free: 82.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/1.127, allocations: 494 kB / 0.7428 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/1.13, allocations: 0.6555 MB / 0.7434 GB, free: 81.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/1.163, allocations: 16.55 MB / 0.7596 GB, free: 73.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003421/1.163, allocations: 102 kB / 0.7597 GB, free: 73.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/1.164, allocations: 318.4 kB / 0.76 GB, free: 73.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/1.166, allocations: 1.585 MB / 0.7616 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/1.194, allocations: 13.54 MB / 0.7748 GB, free: 68.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07755/1.271, allocations: 74.29 MB / 0.8473 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.292, allocations: 7.724 MB / 0.8549 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2997/1.592, allocations: 4.018 MB / 0.8588 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03229/1.625, allocations: 18.54 MB / 0.8769 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/1.625, allocations: 67.73 kB / 0.877 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 5.39e-06/1.625, allocations: 3.625 kB / 0.877 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=370): time 0.1554/1.78, allocations: 49.27 MB / 0.9251 GB, free: 81.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.78, allocations: 272.1 kB / 0.9253 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009622/1.79, allocations: 6.092 MB / 0.9313 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.791, allocations: 79.98 kB / 0.9314 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003027/1.794, allocations: 4.776 MB / 0.936 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.796, allocations: 1.362 MB / 0.9374 GB, free: 74.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/1.796, allocations: 186.1 kB / 0.9375 GB, free: 74.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003781/1.797, allocations: 0.6888 MB / 0.9382 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005344/1.802, allocations: 3.78 MB / 0.9419 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007973/1.81, allocations: 9.021 MB / 0.9507 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.827, allocations: 13.84 MB / 0.9642 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/1.827, allocations: 54.34 kB / 0.9643 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03197/1.859, allocations: 16.13 MB / 0.98 GB, free: 44.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.859, allocations: 84 kB / 0.9801 GB, free: 44.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/1.859, allocations: 180 kB / 0.9803 GB, free: 44.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1.871, allocations: 4.043 MB / 0.9842 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006994/1.878, allocations: 2.046 MB / 0.9862 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/1.905, allocations: 20.98 MB / 1.007 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009872/1.915, allocations: 0.5381 MB / 1.007 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002095/1.917, allocations: 0.5345 MB / 1.008 GB, free: 21.13 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.008528/1.926, allocations: 3.122 MB / 1.011 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.928, allocations: 0.5785 MB / 1.011 GB, free: 17.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/1.949, allocations: 9.58 MB / 1.021 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/1.949, allocations: 42.25 kB / 1.021 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.205e-05/1.949, allocations: 16 kB / 1.021 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-05/1.949, allocations: 31.3 kB / 1.021 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.043/1.992, allocations: 19.05 MB / 1.039 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/1.993, allocations: 1.125 kB / 1.039 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/1.995, allocations: 0.5148 MB / 1.04 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01224/2.008, allocations: 3.615 MB / 1.043 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008792/2.009, allocations: 66.12 kB / 1.044 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3526/2.361, allocations: 18.88 MB / 1.062 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/2.361, allocations: 5.344 kB / 1.062 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/2.387, allocations: 14.01 MB / 1.076 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004522/2.392, allocations: 1.124 MB / 1.077 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/2.394, allocations: 61.94 kB / 1.077 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/2.398, allocations: 221.9 kB / 1.077 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009821/2.399, allocations: 223.1 kB / 1.077 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/2.399, allocations: 92.5 kB / 1.077 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007504/2.407, allocations: 3.804 MB / 1.081 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/2.407, allocations: 0 / 1.081 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01156/2.418, allocations: 1.85 MB / 1.083 GB, free: 110.2 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.001017/2.419, allocations: 231.7 kB / 1.083 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01871/2.438, allocations: 9.668 MB / 1.093 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/2.438, allocations: 1.062 kB / 1.093 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007998/2.446, allocations: 3.792 MB / 1.096 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009609/2.456, allocations: 0.7622 MB / 1.097 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04596/2.502, allocations: 18.51 MB / 1.115 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/2.515, allocations: 4.887 MB / 1.12 GB, free: 94.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01061/2.525, allocations: 2.811 MB / 1.123 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/2.527, allocations: 380.9 kB / 1.123 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/2.528, allocations: 0 / 1.123 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.1366/2.664, allocations: 75.19 MB / 1.196 GB, free: 52.16 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches