Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 186.6 kB / 16.41 MB, free: 5.727 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.9/1.9, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001208/0.001209, allocations: 84.48 kB / 270.9 MB, free: 8.367 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.5037/0.5037, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006332, allocations: 8 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1296, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.6402, allocations: 115.4 MB / 0.5914 GB, free: 3.234 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.6406, allocations: 83.97 kB / 0.5915 GB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.93/1.571, allocations: 143 MB / 0.7312 GB, free: 87.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.877e-06/1.571, allocations: 0 / 0.7312 GB, free: 87.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005937/1.571, allocations: 132.6 kB / 0.7313 GB, free: 87.06 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03191/1.603, allocations: 7.294 MB / 0.7384 GB, free: 83.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.603, allocations: 7.906 kB / 0.7384 GB, free: 83.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06705/1.67, allocations: 9.325 MB / 0.7476 GB, free: 82.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03394/1.704, allocations: 9.185 MB / 0.7565 GB, free: 79.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006568/1.705, allocations: 481.2 kB / 0.757 GB, free: 79.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003835/1.709, allocations: 0.6332 MB / 0.7576 GB, free: 78.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05282/1.762, allocations: 15.65 MB / 0.7729 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005459/1.762, allocations: 84.89 kB / 0.773 GB, free: 70.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003472/1.766, allocations: 306 kB / 0.7733 GB, free: 70.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/1.769, allocations: 1.397 MB / 0.7746 GB, free: 69.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04295/1.812, allocations: 12.89 MB / 0.7872 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/1.92, allocations: 64.45 MB / 0.8501 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03323/1.954, allocations: 6.279 MB / 0.8563 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3963/2.35, allocations: 11.17 MB / 0.8672 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/2.35, allocations: 58.94 kB / 0.8672 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.622e-06/2.35, allocations: 0 / 0.8672 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.2407/2.591, allocations: 37.37 MB / 0.9037 GB, free: 91.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/2.591, allocations: 238.2 kB / 0.904 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/2.605, allocations: 5.013 MB / 0.9089 GB, free: 89.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/2.606, allocations: 76.89 kB / 0.9089 GB, free: 89.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004145/2.611, allocations: 4.274 MB / 0.9131 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/2.613, allocations: 1.235 MB / 0.9143 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/2.615, allocations: 162.2 kB / 0.9145 GB, free: 85.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007815/2.615, allocations: 0.6565 MB / 0.9151 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009951/2.625, allocations: 3.606 MB / 0.9186 GB, free: 83.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.639, allocations: 8.141 MB / 0.9266 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.651, allocations: 5.308 MB / 0.9318 GB, free: 74.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001861/2.652, allocations: 45 kB / 0.9318 GB, free: 74.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.05086/2.703, allocations: 14.53 MB / 0.946 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/2.703, allocations: 76.78 kB / 0.9461 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002738/2.703, allocations: 156.3 kB / 0.9462 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02189/2.725, allocations: 3.584 MB / 0.9497 GB, free: 68.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01124/2.736, allocations: 1.797 MB / 0.9515 GB, free: 68.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0532/2.79, allocations: 18.64 MB / 0.9697 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/2.802, allocations: 484.4 kB / 0.9701 GB, free: 59.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/2.804, allocations: 484.9 kB / 0.9706 GB, free: 58.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (972): * Single equations (assignments): 968 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009087/2.813, allocations: 3.121 MB / 0.9736 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/2.815, allocations: 0.5245 MB / 0.9742 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03441/2.849, allocations: 8.896 MB / 0.9828 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.488e-05/2.849, allocations: 36 kB / 0.9829 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/2.849, allocations: 12.81 kB / 0.9829 GB, free: 48.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.727e-05/2.849, allocations: 17.45 kB / 0.9829 GB, free: 48.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06336/2.913, allocations: 18.65 MB / 1.001 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-05/2.913, allocations: 12.03 kB / 1.001 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004497/2.917, allocations: 493.9 kB / 1.002 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02041/2.938, allocations: 3.122 MB / 1.005 GB, free: 30.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008689/2.939, allocations: 63.8 kB / 1.005 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03864/2.977, allocations: 16.31 MB / 1.021 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/2.978, allocations: 15.89 kB / 1.021 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04171/3.019, allocations: 14.16 MB / 1.034 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/3.024, allocations: 1.103 MB / 1.036 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/3.026, allocations: 60 kB / 1.036 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006015/3.032, allocations: 205.8 kB / 1.036 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/3.034, allocations: 222.2 kB / 1.036 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004908/3.034, allocations: 91.05 kB / 1.036 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01073/3.045, allocations: 3.546 MB / 1.04 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/3.045, allocations: 0 / 1.04 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01193/3.057, allocations: 1.687 MB / 1.041 GB, free: 9.176 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.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 (253): * Single equations (assignments): 249 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/3.059, allocations: 249.2 kB / 1.041 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3833/3.442, allocations: 8.911 MB / 1.05 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/3.442, allocations: 1.562 kB / 1.05 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01036/3.452, allocations: 3.481 MB / 1.054 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/3.459, allocations: 0.6847 MB / 1.054 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04861/3.508, allocations: 18.69 MB / 1.072 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/3.521, allocations: 4.971 MB / 1.077 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/3.524, allocations: 408.2 kB / 1.078 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/3.524, allocations: 0 / 1.078 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.2237/3.747, allocations: 116.7 MB / 1.192 GB, free: 40.12 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches