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.001488/0.001488, allocations: 181 kB / 17.41 MB, free: 4.289 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.506/1.506, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.000779/0.000779, allocations: 85.42 kB / 271.9 MB, free: 8.266 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.3142/0.3142, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4842, allocations: 116.4 MB / 0.5936 GB, free: 1.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4845, allocations: 79.95 kB / 0.5937 GB, free: 1.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6069/1.091, allocations: 152.2 MB / 0.7424 GB, free: 87.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.091, allocations: 0 / 0.7424 GB, free: 87.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000391/1.092, allocations: 140.3 kB / 0.7425 GB, free: 87.71 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02085/1.113, allocations: 6.832 MB / 0.7492 GB, free: 84.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.113, allocations: 9.719 kB / 0.7492 GB, free: 84.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02415/1.137, allocations: 5.788 MB / 0.7548 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/1.153, allocations: 7.139 MB / 0.7618 GB, free: 80.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006352/1.153, allocations: 0.5327 MB / 0.7623 GB, free: 80.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004121/1.157, allocations: 0.7097 MB / 0.763 GB, free: 80.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04324/1.201, allocations: 18.69 MB / 0.7813 GB, free: 68.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005786/1.201, allocations: 95.11 kB / 0.7814 GB, free: 68.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003867/1.205, allocations: 332 kB / 0.7817 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/1.208, allocations: 1.726 MB / 0.7834 GB, free: 66.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/1.241, allocations: 16.3 MB / 0.7993 GB, free: 49.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3785/1.619, allocations: 74.08 MB / 0.8716 GB, free: 50.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.634, allocations: 6.151 MB / 0.8776 GB, free: 49.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/1.638, allocations: 2.735 MB / 0.8803 GB, free: 48.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/1.661, allocations: 13.78 MB / 0.8938 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/1.661, allocations: 64.69 kB / 0.8938 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=284): time 7.283e-06/1.661, allocations: 0 / 0.8938 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=344): time 0.08124/1.742, allocations: 24.25 MB / 0.9175 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/1.742, allocations: 185.8 kB / 0.9177 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009659/1.752, allocations: 5.916 MB / 0.9235 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007128/1.753, allocations: 69.62 kB / 0.9235 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002838/1.755, allocations: 5.013 MB / 0.9284 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/1.757, allocations: 1.277 MB / 0.9297 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/1.757, allocations: 193.1 kB / 0.9298 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004092/1.758, allocations: 0.7131 MB / 0.9305 GB, free: 36.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/1.763, allocations: 3.265 MB / 0.9337 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006834/1.769, allocations: 8.759 MB / 0.9423 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.783, allocations: 13.03 MB / 0.955 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001938/1.783, allocations: 53.19 kB / 0.9551 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02704/1.81, allocations: 12.76 MB / 0.9675 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/1.81, allocations: 91.53 kB / 0.9676 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003958/1.811, allocations: 192.5 kB / 0.9678 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/1.815, allocations: 1.307 MB / 0.9691 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007357/1.822, allocations: 2.182 MB / 0.9712 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.833, allocations: 7.167 MB / 0.9782 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00876/1.842, allocations: 0.5595 MB / 0.9788 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002701/1.845, allocations: 0.5431 MB / 0.9793 GB, free: 7.965 MB / 0.4948 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 () * Number of clocked 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.009393/1.854, allocations: 3.457 MB / 0.9827 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/1.856, allocations: 0.5291 MB / 0.9832 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.868, allocations: 5.327 MB / 0.9884 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.274e-05/1.868, allocations: 39.94 kB / 0.9884 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/1.868, allocations: 7.656 kB / 0.9884 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.908e-05/1.868, allocations: 12 kB / 0.9884 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03913/1.908, allocations: 14.19 MB / 1.002 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/1.908, allocations: 12 kB / 1.002 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.91, allocations: 0.5387 MB / 1.003 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.914, allocations: 0.9157 MB / 1.004 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006024/1.914, allocations: 70.09 kB / 1.004 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009418/1.924, allocations: 5.47 MB / 1.009 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.924, allocations: 15.94 kB / 1.009 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.941, allocations: 8.507 MB / 1.017 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/1.944, allocations: 0.9542 MB / 1.018 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/1.946, allocations: 66.55 kB / 1.018 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/1.949, allocations: 196.9 kB / 1.019 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006228/1.95, allocations: 219.9 kB / 1.019 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003568/1.95, allocations: 102.3 kB / 1.019 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008863/1.959, allocations: 3.675 MB / 1.023 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/1.959, allocations: 4 kB / 1.023 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01161/1.971, allocations: 1.646 MB / 1.024 GB, free: 5.082 MB / 0.5261 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 () * Number of clocked 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.001291/1.972, allocations: 274.6 kB / 1.024 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01958/1.991, allocations: 8.111 MB / 1.032 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/1.992, allocations: 4 kB / 1.032 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00467/1.996, allocations: 2.402 MB / 1.035 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01512/2.011, allocations: 0.6855 MB / 1.035 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04135/2.053, allocations: 19.17 MB / 1.054 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00865/2.061, allocations: 5.18 MB / 1.059 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/2.063, allocations: 457.5 kB / 1.06 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of SimCode: time 1.623e-06/2.063, allocations: 4 kB / 1.06 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of Templates: time 0.4314/2.495, allocations: 125.3 MB / 1.182 GB, free: 121.6 MB / 0.573 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