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.002163/0.002163, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 97.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2875/0.2875, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.706e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3868, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.5951, allocations: 112 MB / 0.5753 GB, free: 3.203 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5954, allocations: 75.97 kB / 0.5754 GB, free: 3.129 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8747/1.47, allocations: 133.8 MB / 0.706 GB, free: 99.39 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.745e-06/1.47, allocations: 3.938 kB / 0.706 GB, free: 99.39 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000512/1.471, allocations: 132.9 kB / 0.7061 GB, free: 99.39 MB / 475.1 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.03006/1.501, allocations: 7.05 MB / 0.713 GB, free: 94.91 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.501, allocations: 11.12 kB / 0.713 GB, free: 94.91 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05589/1.557, allocations: 7.562 MB / 0.7204 GB, free: 87.71 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0349/1.592, allocations: 9.794 MB / 0.73 GB, free: 77.92 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/1.592, allocations: 216 kB / 0.7302 GB, free: 77.71 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003498/1.596, allocations: 395.8 kB / 0.7306 GB, free: 77.32 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02408/1.62, allocations: 9.693 MB / 0.74 GB, free: 67.63 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03558/1.655, allocations: 14.25 MB / 0.754 GB, free: 51.94 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005334/1.656, allocations: 103 kB / 0.7541 GB, free: 51.84 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003331/1.659, allocations: 44 kB / 0.7541 GB, free: 51.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003654/1.663, allocations: 1.584 MB / 0.7556 GB, free: 50.21 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/1.783, allocations: 73.77 MB / 0.8277 GB, free: 6.309 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.795, allocations: 5.234 MB / 0.8328 GB, free: 0.9258 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3514/2.147, allocations: 3.77 MB / 0.8365 GB, free: 123 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003489/2.15, allocations: 2.257 MB / 0.8387 GB, free: 121 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.368e-05/2.15, allocations: 70.88 kB / 0.8387 GB, free: 121 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=302): time 7.784e-06/2.15, allocations: 0 / 0.8387 GB, free: 121 MB / 0.4952 GB Notification: Performance of matching and sorting (n=385): time 0.1717/2.322, allocations: 40.89 MB / 0.8787 GB, free: 114.3 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/2.322, allocations: 274.5 kB / 0.8789 GB, free: 114 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/2.334, allocations: 4.662 MB / 0.8835 GB, free: 112.4 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/2.335, allocations: 25.7 kB / 0.8835 GB, free: 112.4 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004085/2.339, allocations: 4.637 MB / 0.888 GB, free: 108.7 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/2.341, allocations: 1.367 MB / 0.8894 GB, free: 107.7 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/2.342, allocations: 0 / 0.8894 GB, free: 107.7 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0006088/2.343, allocations: 0.7117 MB / 0.8901 GB, free: 107.2 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008653/2.352, allocations: 3.639 MB / 0.8936 GB, free: 105.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/2.364, allocations: 8.928 MB / 0.9024 GB, free: 97.46 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.377, allocations: 5.574 MB / 0.9078 GB, free: 95.71 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/2.377, allocations: 53.12 kB / 0.9078 GB, free: 95.71 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.0488/2.426, allocations: 14.83 MB / 0.9223 GB, free: 85.86 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.426, allocations: 84 kB / 0.9224 GB, free: 85.77 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002535/2.426, allocations: 188 kB / 0.9226 GB, free: 85.59 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02256/2.449, allocations: 4.009 MB / 0.9265 GB, free: 82.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.463, allocations: 2.11 MB / 0.9286 GB, free: 80.96 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0464/2.509, allocations: 20.11 MB / 0.9482 GB, free: 63.68 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/2.521, allocations: 377.8 kB / 0.9486 GB, free: 63.39 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/2.524, allocations: 0.5388 MB / 0.9491 GB, free: 62.86 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 855 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1127): * Single equations (assignments): 1122 * 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 {(1,100.0%) 45,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00424/2.528, allocations: 0.5803 MB / 0.9497 GB, free: 62.27 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/2.53, allocations: 0.5525 MB / 0.9502 GB, free: 61.71 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03851/2.569, allocations: 9.375 MB / 0.9594 GB, free: 54.53 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.062e-05/2.569, allocations: 39.94 kB / 0.9594 GB, free: 54.49 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/2.569, allocations: 23.06 kB / 0.9594 GB, free: 54.47 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.653e-05/2.569, allocations: 15.28 kB / 0.9594 GB, free: 54.47 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07848/2.648, allocations: 18.04 MB / 0.977 GB, free: 37.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/2.648, allocations: 5.875 kB / 0.977 GB, free: 37.48 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005279/2.653, allocations: 0.5347 MB / 0.9776 GB, free: 36.94 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02054/2.674, allocations: 3.518 MB / 0.981 GB, free: 33.41 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.675, allocations: 11.98 kB / 0.981 GB, free: 33.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.042/2.717, allocations: 17.68 MB / 0.9983 GB, free: 15.49 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/2.717, allocations: 4 kB / 0.9983 GB, free: 15.49 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.043/2.76, allocations: 14.17 MB / 1.012 GB, free: 1.133 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004778/2.765, allocations: 1.091 MB / 1.013 GB, free: 16 kB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/2.767, allocations: 4 kB / 1.013 GB, free: 12 kB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006425/2.773, allocations: 171.8 kB / 1.013 GB, free: 15.84 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001682/2.775, allocations: 234 kB / 1.014 GB, free: 15.61 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005794/2.775, allocations: 100.7 kB / 1.014 GB, free: 15.52 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.009456/2.785, allocations: 3.133 MB / 1.017 GB, free: 12.41 MB / 0.5108 GB Notification: Performance of sort global known variables: time 8.61e-07/2.785, allocations: 4 kB / 1.017 GB, free: 12.41 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.01342/2.798, allocations: 1.616 MB / 1.018 GB, free: 10.8 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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.001398/2.8, allocations: 173.8 kB / 1.018 GB, free: 10.64 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.3725/3.172, allocations: 9.213 MB / 1.027 GB, free: 124 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/3.172, allocations: 3.406 kB / 1.027 GB, free: 124 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/3.182, allocations: 3.679 MB / 1.031 GB, free: 123.8 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005891/3.188, allocations: 0.5857 MB / 1.032 GB, free: 123.8 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04293/3.231, allocations: 13.81 MB / 1.045 GB, free: 121.3 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/3.243, allocations: 5.022 MB / 1.05 GB, free: 120.4 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/3.246, allocations: 436.5 kB / 1.05 GB, free: 120.4 MB / 0.5108 GB Notification: Performance of SimCode: time 1.343e-06/3.246, allocations: 0 / 1.05 GB, free: 120.4 MB / 0.5108 GB Notification: Performance of Templates: time 0.2589/3.504, allocations: 143.4 MB / 1.19 GB, free: 17.89 MB / 0.5108 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