Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 178 kB / 17.06 MB, free: 5.098 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.244/1.244, allocations: 223.2 MB / 241 MB, free: 10.14 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.0008379/0.0008379, allocations: 86.69 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3033/0.3033, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4641, allocations: 114.7 MB / 0.6216 GB, free: 12.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4644, allocations: 83.97 kB / 0.6217 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5607/1.025, allocations: 137.8 MB / 0.7563 GB, free: 86.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.025, allocations: 0 / 0.7563 GB, free: 86.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002579/1.025, allocations: 135.2 kB / 0.7564 GB, free: 86.66 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.01932/1.045, allocations: 7.619 MB / 0.7639 GB, free: 81.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.045, allocations: 11.19 kB / 0.7639 GB, free: 81.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/1.074, allocations: 7.557 MB / 0.7712 GB, free: 75.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02258/1.096, allocations: 9.243 MB / 0.7803 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004874/1.097, allocations: 488.9 kB / 0.7807 GB, free: 65.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00353/1.1, allocations: 0.6596 MB / 0.7814 GB, free: 65.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03026/1.131, allocations: 16.73 MB / 0.7977 GB, free: 46.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/1.131, allocations: 103 kB / 0.7978 GB, free: 46.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008505/1.132, allocations: 311.8 kB / 0.7981 GB, free: 46.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/1.134, allocations: 1.584 MB / 0.7997 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/1.161, allocations: 13.77 MB / 0.8131 GB, free: 31.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4327/1.594, allocations: 74.33 MB / 0.8857 GB, free: 63.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/1.614, allocations: 7.735 MB / 0.8932 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03076/1.645, allocations: 18.67 MB / 0.9115 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/1.645, allocations: 66.8 kB / 0.9115 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 6.702e-06/1.645, allocations: 3.688 kB / 0.9115 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=370): time 0.1582/1.804, allocations: 49.26 MB / 0.9597 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.804, allocations: 273.7 kB / 0.9599 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008999/1.813, allocations: 5.355 MB / 0.9651 GB, free: 46.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009755/1.814, allocations: 87.58 kB / 0.9652 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003055/1.817, allocations: 4.751 MB / 0.9699 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/1.819, allocations: 1.36 MB / 0.9712 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/1.819, allocations: 183.8 kB / 0.9714 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004682/1.82, allocations: 0.6956 MB / 0.972 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005061/1.825, allocations: 3.78 MB / 0.9757 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007967/1.833, allocations: 8.978 MB / 0.9845 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007998/1.841, allocations: 5.652 MB / 0.99 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/1.841, allocations: 53.5 kB / 0.9901 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03315/1.874, allocations: 16.12 MB / 1.006 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.874, allocations: 94.3 kB / 1.006 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.875, allocations: 180 kB / 1.006 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/1.887, allocations: 4.065 MB / 1.01 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007238/1.895, allocations: 2.045 MB / 1.012 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0318/1.926, allocations: 21.73 MB / 1.033 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009531/1.936, allocations: 0.5488 MB / 1.034 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/1.938, allocations: 0.5234 MB / 1.034 GB, free: 14.57 MB / 0.5417 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.007604/1.946, allocations: 3.113 MB / 1.037 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.947, allocations: 0.5784 MB / 1.038 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/1.968, allocations: 9.559 MB / 1.047 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.968, allocations: 41.91 kB / 1.047 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.804e-05/1.969, allocations: 20 kB / 1.047 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.903e-05/1.969, allocations: 19.92 kB / 1.047 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04136/2.01, allocations: 19.04 MB / 1.066 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/2.01, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/2.013, allocations: 0.5032 MB / 1.066 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/2.026, allocations: 3.62 MB / 1.07 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008095/2.026, allocations: 63.98 kB / 1.07 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02892/2.055, allocations: 19.65 MB / 1.089 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.055, allocations: 0 / 1.089 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3576/2.413, allocations: 14.11 MB / 1.103 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/2.416, allocations: 0.5809 MB / 1.104 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/2.417, allocations: 59.28 kB / 1.104 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/2.421, allocations: 222.5 kB / 1.104 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007706/2.422, allocations: 229 kB / 1.104 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/2.422, allocations: 89.69 kB / 1.104 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007549/2.429, allocations: 3.761 MB / 1.108 GB, free: 173.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.074e-06/2.429, allocations: 0 / 1.108 GB, free: 173.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01099/2.44, allocations: 1.851 MB / 1.11 GB, free: 173.6 MB / 0.5886 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.0009539/2.441, allocations: 231.4 kB / 1.11 GB, free: 173.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01709/2.459, allocations: 9.665 MB / 1.119 GB, free: 173.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.459, allocations: 0 / 1.119 GB, free: 173.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007092/2.466, allocations: 3.794 MB / 1.123 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005897/2.472, allocations: 0.7243 MB / 1.124 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04225/2.514, allocations: 18.39 MB / 1.142 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01353/2.528, allocations: 5.002 MB / 1.147 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01013/2.538, allocations: 2.809 MB / 1.149 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/2.54, allocations: 382.3 kB / 1.15 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.473e-06/2.54, allocations: 0 / 1.15 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.1416/2.682, allocations: 74.78 MB / 1.223 GB, free: 122.3 MB / 0.5886 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches