Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001764/0.001764, allocations: 176.2 kB / 16.76 MB, free: 5.031 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.427/1.427, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008818/0.0008819, allocations: 93.39 kB / 271.3 MB, free: 8.254 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.3403/0.3403, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.000409, allocations: 12 kB / 432.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 58.84 MB / 491.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4526, allocations: 116.4 MB / 0.5936 GB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4529, allocations: 87.89 kB / 0.5937 GB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5802/1.033, allocations: 152.2 MB / 0.7424 GB, free: 87.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.033, allocations: 4 kB / 0.7424 GB, free: 87.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003598/1.034, allocations: 141.6 kB / 0.7425 GB, free: 87.95 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.0187/1.052, allocations: 6.821 MB / 0.7492 GB, free: 84.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.052, allocations: 14.33 kB / 0.7492 GB, free: 84.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02297/1.075, allocations: 5.784 MB / 0.7548 GB, free: 83.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/1.091, allocations: 7.153 MB / 0.7618 GB, free: 80.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004704/1.091, allocations: 0.5275 MB / 0.7623 GB, free: 80.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002974/1.094, allocations: 0.7126 MB / 0.763 GB, free: 80.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03783/1.132, allocations: 18.68 MB / 0.7813 GB, free: 67.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004568/1.133, allocations: 91.12 kB / 0.7814 GB, free: 67.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/1.136, allocations: 340.6 kB / 0.7817 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/1.138, allocations: 1.729 MB / 0.7834 GB, free: 65.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03044/1.168, allocations: 16.3 MB / 0.7993 GB, free: 49.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3483/1.517, allocations: 74.08 MB / 0.8717 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/1.531, allocations: 6.147 MB / 0.8777 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/1.534, allocations: 2.739 MB / 0.8803 GB, free: 49.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02049/1.555, allocations: 13.77 MB / 0.8938 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.555, allocations: 63.55 kB / 0.8938 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=284): time 5.911e-06/1.555, allocations: 0 / 0.8938 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=344): time 0.08019/1.635, allocations: 24.25 MB / 0.9175 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/1.635, allocations: 188.9 kB / 0.9177 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.647, allocations: 5.911 MB / 0.9235 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007392/1.648, allocations: 75.89 kB / 0.9235 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003544/1.652, allocations: 5.011 MB / 0.9284 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.653, allocations: 1.279 MB / 0.9297 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/1.654, allocations: 186.8 kB / 0.9299 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005196/1.655, allocations: 0.7153 MB / 0.9306 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006599/1.661, allocations: 3.259 MB / 0.9337 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/1.671, allocations: 8.763 MB / 0.9423 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/1.69, allocations: 13.04 MB / 0.955 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000255/1.69, allocations: 56.31 kB / 0.9551 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.0251/1.715, allocations: 12.76 MB / 0.9676 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002479/1.715, allocations: 87.31 kB / 0.9676 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003392/1.716, allocations: 192.3 kB / 0.9678 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/1.72, allocations: 1.309 MB / 0.9691 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006802/1.726, allocations: 2.182 MB / 0.9712 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00988/1.736, allocations: 7.166 MB / 0.9782 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/1.744, allocations: 0.5593 MB / 0.9788 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.745, allocations: 0.549 MB / 0.9793 GB, free: 7.906 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.006864/1.752, allocations: 3.454 MB / 0.9827 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.753, allocations: 0.5335 MB / 0.9832 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.764, allocations: 5.333 MB / 0.9884 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.764, allocations: 38.25 kB / 0.9884 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/1.764, allocations: 7.938 kB / 0.9885 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/1.764, allocations: 18.23 kB / 0.9885 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03501/1.799, allocations: 14.36 MB / 1.002 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/1.799, allocations: 19.06 kB / 1.003 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/1.802, allocations: 0.5276 MB / 1.003 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/1.805, allocations: 0.921 MB / 1.004 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005174/1.806, allocations: 73.78 kB / 1.004 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/1.815, allocations: 5.464 MB / 1.009 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.815, allocations: 15.94 kB / 1.009 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.83, allocations: 8.494 MB / 1.018 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003178/1.834, allocations: 0.9493 MB / 1.019 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/1.835, allocations: 62.03 kB / 1.019 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/1.838, allocations: 194.6 kB / 1.019 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/1.839, allocations: 218.8 kB / 1.019 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003218/1.839, allocations: 102 kB / 1.019 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008342/1.848, allocations: 3.667 MB / 1.023 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/1.848, allocations: 0 / 1.023 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0113/1.859, allocations: 1.658 MB / 1.024 GB, free: 5.645 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.001095/1.86, allocations: 272.5 kB / 1.025 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.877, allocations: 7.893 MB / 1.032 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.877, allocations: 4 kB / 1.032 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004355/1.881, allocations: 2.401 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.01477/1.896, allocations: 0.6822 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.0373/1.933, allocations: 18.38 MB / 1.053 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/1.944, allocations: 5.174 MB / 1.058 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01066/1.955, allocations: 3.04 MB / 1.061 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/1.957, allocations: 383.4 kB / 1.062 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/1.957, allocations: 0 / 1.062 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of Templates: time 0.3155/2.272, allocations: 55.56 MB / 1.116 GB, free: 157.7 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches