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.002306/0.002305, allocations: 179.4 kB / 8.364 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.14 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.001115/0.001115, allocations: 90.8 kB / 262.1 MB, free: 13.88 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.2968/0.2968, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.155e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4069, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/0.6211, allocations: 115.5 MB / 0.5787 GB, free: 15.79 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6215, allocations: 83.45 kB / 0.5787 GB, free: 15.71 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9772/1.599, allocations: 151.6 MB / 0.7268 GB, free: 82.03 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.304e-06/1.599, allocations: 4 kB / 0.7268 GB, free: 82.02 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003746/1.599, allocations: 139.5 kB / 0.7269 GB, free: 81.89 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02523/1.624, allocations: 6.552 MB / 0.7333 GB, free: 75.27 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.624, allocations: 8.031 kB / 0.7333 GB, free: 75.27 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05021/1.675, allocations: 6.679 MB / 0.7398 GB, free: 68.57 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03053/1.705, allocations: 8.379 MB / 0.748 GB, free: 60.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/1.706, allocations: 228 kB / 0.7482 GB, free: 59.97 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004084/1.71, allocations: 435.7 kB / 0.7486 GB, free: 59.55 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02757/1.737, allocations: 11.66 MB / 0.76 GB, free: 47.89 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0387/1.776, allocations: 15.9 MB / 0.7755 GB, free: 30.66 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003364/1.777, allocations: 79.28 kB / 0.7756 GB, free: 30.58 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.778, allocations: 40 kB / 0.7757 GB, free: 30.54 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003331/1.782, allocations: 1.722 MB / 0.7773 GB, free: 28.82 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5258/2.308, allocations: 70.86 MB / 0.8465 GB, free: 74.19 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/2.318, allocations: 4.666 MB / 0.8511 GB, free: 72.96 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006767/2.325, allocations: 2.668 MB / 0.8537 GB, free: 72.92 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04027/2.365, allocations: 13.7 MB / 0.8671 GB, free: 68.89 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/2.365, allocations: 64.03 kB / 0.8671 GB, free: 68.86 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=286): time 7.133e-06/2.365, allocations: 3.172 kB / 0.8672 GB, free: 68.86 MB / 0.4952 GB Notification: Performance of matching and sorting (n=346): time 0.08072/2.446, allocations: 17.98 MB / 0.8847 GB, free: 64.88 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/2.446, allocations: 190.7 kB / 0.8849 GB, free: 64.69 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/2.458, allocations: 4.623 MB / 0.8894 GB, free: 64.25 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0007877/2.459, allocations: 29.31 kB / 0.8894 GB, free: 64.22 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.00446/2.463, allocations: 5.009 MB / 0.8943 GB, free: 61.11 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002031/2.465, allocations: 1.25 MB / 0.8955 GB, free: 60.36 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/2.467, allocations: 5.5 kB / 0.8956 GB, free: 60.36 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0008272/2.468, allocations: 0.7319 MB / 0.8963 GB, free: 60.03 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008001/2.476, allocations: 3.051 MB / 0.8992 GB, free: 58.93 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01225/2.488, allocations: 8.742 MB / 0.9078 GB, free: 50.16 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/2.502, allocations: 5.303 MB / 0.913 GB, free: 48.58 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002546/2.502, allocations: 58.91 kB / 0.913 GB, free: 48.58 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03966/2.542, allocations: 11.57 MB / 0.9243 GB, free: 45.45 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.542, allocations: 92.12 kB / 0.9244 GB, free: 45.45 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003562/2.543, allocations: 203.9 kB / 0.9246 GB, free: 45.45 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007513/2.55, allocations: 1.32 MB / 0.9259 GB, free: 45.22 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01462/2.565, allocations: 2.264 MB / 0.9281 GB, free: 44.95 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/2.582, allocations: 6.847 MB / 0.9348 GB, free: 39.84 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/2.594, allocations: 379.3 kB / 0.9352 GB, free: 39.55 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002649/2.596, allocations: 0.5752 MB / 0.9357 GB, free: 38.98 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * 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 (1206): * Single equations (assignments): 1199 * 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.003741/2.6, allocations: 0.6058 MB / 0.9363 GB, free: 38.38 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/2.602, allocations: 0.5013 MB / 0.9368 GB, free: 37.87 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/2.621, allocations: 5.024 MB / 0.9417 GB, free: 33.71 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/2.622, allocations: 43.05 kB / 0.9417 GB, free: 33.68 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/2.622, allocations: 11.94 kB / 0.9418 GB, free: 33.66 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.739e-05/2.622, allocations: 13.17 kB / 0.9418 GB, free: 33.66 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0444/2.666, allocations: 12.24 MB / 0.9537 GB, free: 23.52 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/2.666, allocations: 16 kB / 0.9537 GB, free: 23.51 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004668/2.671, allocations: 0.5148 MB / 0.9542 GB, free: 23.09 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006292/2.677, allocations: 0.8655 MB / 0.9551 GB, free: 22.46 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000741/2.678, allocations: 20 kB / 0.9551 GB, free: 22.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/2.691, allocations: 5.156 MB / 0.9601 GB, free: 17.79 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/2.691, allocations: 19.94 kB / 0.9602 GB, free: 17.77 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/2.714, allocations: 9.771 MB / 0.9697 GB, free: 8.445 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/2.718, allocations: 0.914 MB / 0.9706 GB, free: 7.578 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/2.72, allocations: 12 kB / 0.9706 GB, free: 7.566 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004872/2.724, allocations: 128 kB / 0.9707 GB, free: 7.492 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/2.726, allocations: 223.4 kB / 0.9709 GB, free: 7.336 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000338/2.726, allocations: 103.8 kB / 0.971 GB, free: 7.238 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008021/2.734, allocations: 3.061 MB / 0.974 GB, free: 4.605 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.92e-07/2.734, allocations: 0 / 0.974 GB, free: 4.605 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01212/2.746, allocations: 1.434 MB / 0.9754 GB, free: 3.188 MB / 0.4952 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 (269): * Single equations (assignments): 262 * 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.001273/2.747, allocations: 222.9 kB / 0.9756 GB, free: 2.988 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0193/2.767, allocations: 7.276 MB / 0.9827 GB, free: 12.31 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/2.767, allocations: 4.5 kB / 0.9828 GB, free: 12.31 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.006865/2.774, allocations: 2.271 MB / 0.985 GB, free: 10.21 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005431/2.779, allocations: 0.5114 MB / 0.9855 GB, free: 9.777 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04651/2.826, allocations: 13.33 MB / 0.9985 GB, free: 13.71 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01533/2.841, allocations: 5.329 MB / 1.004 GB, free: 9.766 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/2.844, allocations: 445.9 kB / 1.004 GB, free: 9.34 MB / 0.5265 GB Notification: Performance of SimCode: time 1.442e-06/2.844, allocations: 0 / 1.004 GB, free: 9.34 MB / 0.5265 GB Notification: Performance of Templates: time 0.6739/3.518, allocations: 118.6 MB / 1.12 GB, free: 134.4 MB / 0.5577 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