Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 180.4 kB / 13.66 MB, free: 1.664 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.979/1.979, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001071/0.001071, allocations: 82.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2805/0.2805, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.299e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5401/0.66, allocations: 116.1 MB / 0.5862 GB, free: 3.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.6604, allocations: 79.42 kB / 0.5863 GB, free: 3.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014/1.675, allocations: 154.7 MB / 0.7373 GB, free: 102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/1.675, allocations: 0 / 0.7373 GB, free: 102 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004169/1.675, allocations: 136.6 kB / 0.7375 GB, free: 101.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02639/1.702, allocations: 6.546 MB / 0.7439 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.702, allocations: 14.44 kB / 0.7439 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04985/1.752, allocations: 6.676 MB / 0.7504 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03045/1.782, allocations: 8.399 MB / 0.7586 GB, free: 97.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007053/1.783, allocations: 0.52 MB / 0.7591 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004356/1.787, allocations: 0.7061 MB / 0.7598 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05969/1.847, allocations: 18.69 MB / 0.7781 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005318/1.848, allocations: 86.11 kB / 0.7781 GB, free: 94.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00405/1.852, allocations: 337.3 kB / 0.7785 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/1.856, allocations: 1.722 MB / 0.7801 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05219/1.908, allocations: 16.22 MB / 0.796 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/2.036, allocations: 74.19 MB / 0.8684 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02482/2.061, allocations: 6.113 MB / 0.8744 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006128/2.067, allocations: 2.709 MB / 0.877 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03812/2.106, allocations: 13.9 MB / 0.8906 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.814e-05/2.106, allocations: 68.45 kB / 0.8907 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 7.704e-06/2.106, allocations: 0 / 0.8907 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.467/2.573, allocations: 19.31 MB / 0.9095 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/2.573, allocations: 189.6 kB / 0.9097 GB, free: 109 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01722/2.59, allocations: 5.17 MB / 0.9148 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007845/2.591, allocations: 74.61 kB / 0.9149 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005621/2.597, allocations: 4.867 MB / 0.9196 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002464/2.599, allocations: 1.277 MB / 0.9209 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/2.601, allocations: 192.9 kB / 0.921 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001362/2.602, allocations: 0.7155 MB / 0.9217 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/2.612, allocations: 3.147 MB / 0.9248 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01392/2.626, allocations: 8.608 MB / 0.9332 GB, free: 98.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/2.639, allocations: 5.191 MB / 0.9383 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002853/2.639, allocations: 57.78 kB / 0.9383 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.0388/2.678, allocations: 12.34 MB / 0.9504 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/2.678, allocations: 91.66 kB / 0.9505 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/2.679, allocations: 191.1 kB / 0.9507 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/2.686, allocations: 1.328 MB / 0.952 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01387/2.7, allocations: 2.189 MB / 0.9541 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/2.717, allocations: 7.105 MB / 0.961 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/2.729, allocations: 0.5547 MB / 0.9616 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/2.732, allocations: 0.5497 MB / 0.9621 GB, free: 93.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1155): * Single equations (assignments): 1148 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004116/2.736, allocations: 0.8107 MB / 0.9629 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/2.738, allocations: 0.5327 MB / 0.9634 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/2.757, allocations: 5.264 MB / 0.9686 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.083e-05/2.758, allocations: 41.77 kB / 0.9686 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/2.758, allocations: 7.938 kB / 0.9686 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.352e-05/2.758, allocations: 14.16 kB / 0.9686 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04915/2.807, allocations: 14.05 MB / 0.9823 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-05/2.807, allocations: 11.41 kB / 0.9824 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004734/2.812, allocations: 0.5419 MB / 0.9829 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006462/2.818, allocations: 0.906 MB / 0.9838 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008528/2.819, allocations: 66.95 kB / 0.9838 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/2.833, allocations: 5.42 MB / 0.9891 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/2.833, allocations: 15.16 kB / 0.9891 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/2.857, allocations: 10.15 MB / 0.9991 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004022/2.861, allocations: 0.9421 MB / 1 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002214/2.864, allocations: 63.16 kB / 1 GB, free: 75.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005382/2.869, allocations: 188.4 kB / 1 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/2.87, allocations: 223.5 kB / 1 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004753/2.871, allocations: 109.9 kB / 1.001 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01002/2.881, allocations: 3.565 MB / 1.004 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/2.881, allocations: 3.938 kB / 1.004 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0121/2.893, allocations: 1.66 MB / 1.006 GB, free: 73.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/2.894, allocations: 265.6 kB / 1.006 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01849/2.913, allocations: 7.625 MB / 1.013 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/2.913, allocations: 8 kB / 1.013 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006525/2.92, allocations: 2.349 MB / 1.016 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006234/2.926, allocations: 0.6492 MB / 1.016 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03979/2.966, allocations: 13.48 MB / 1.029 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01272/2.979, allocations: 5.338 MB / 1.035 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/2.981, allocations: 450.1 kB / 1.035 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/2.981, allocations: 0 / 1.035 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.6219/3.603, allocations: 121.5 MB / 1.154 GB, free: 98.79 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches