Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.000953, allocations: 173.1 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 104.3 kB / 281.6 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1905/0.1905, allocations: 44.14 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.207e-05, allocations: 224 / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.5657, allocations: 117.5 MB / 0.6094 GB, free: 10.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.566, allocations: 75.95 kB / 0.6095 GB, free: 10.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6661/1.232, allocations: 153.4 MB / 0.7593 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/1.232, allocations: 0 / 0.7593 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005255/1.233, allocations: 137 kB / 0.7595 GB, free: 110.3 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.02326/1.256, allocations: 6.529 MB / 0.7658 GB, free: 107 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.256, allocations: 17.61 kB / 0.7658 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/1.284, allocations: 6.682 MB / 0.7724 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02209/1.306, allocations: 7.926 MB / 0.7801 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000647/1.307, allocations: 232 kB / 0.7803 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.312, allocations: 427.7 kB / 0.7807 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01885/1.331, allocations: 11.67 MB / 0.7921 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03629/1.367, allocations: 15.89 MB / 0.8077 GB, free: 70.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005466/1.368, allocations: 79.28 kB / 0.8077 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003561/1.371, allocations: 44 kB / 0.8078 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/1.374, allocations: 1.723 MB / 0.8094 GB, free: 68.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07947/1.453, allocations: 70.8 MB / 0.8786 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006151/1.46, allocations: 4.677 MB / 0.8832 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/1.463, allocations: 2.669 MB / 0.8858 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3312/1.794, allocations: 13.67 MB / 0.8991 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/1.795, allocations: 60.39 kB / 0.8992 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 6.612e-06/1.795, allocations: 0 / 0.8992 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=346): time 0.04825/1.843, allocations: 17.84 MB / 0.9166 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/1.843, allocations: 187.3 kB / 0.9168 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007218/1.85, allocations: 4.587 MB / 0.9212 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006662/1.851, allocations: 25.7 kB / 0.9213 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002844/1.854, allocations: 5.088 MB / 0.9262 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.855, allocations: 1.245 MB / 0.9275 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/1.856, allocations: 3.031 kB / 0.9275 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005274/1.856, allocations: 0.7292 MB / 0.9282 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.86, allocations: 3.05 MB / 0.9311 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007975/1.868, allocations: 8.743 MB / 0.9397 GB, free: 99.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.878, allocations: 5.303 MB / 0.9449 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002504/1.879, allocations: 59.41 kB / 0.9449 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.02954/1.908, allocations: 11.71 MB / 0.9564 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.908, allocations: 94.12 kB / 0.9564 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000297/1.909, allocations: 200.5 kB / 0.9566 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003999/1.913, allocations: 1.313 MB / 0.9579 GB, free: 93.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007946/1.921, allocations: 2.27 MB / 0.9601 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009247/1.93, allocations: 6.841 MB / 0.9668 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009979/1.94, allocations: 384.3 kB / 0.9672 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/1.943, allocations: 0.5703 MB / 0.9677 GB, free: 89.72 MB / 0.5105 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.002265/1.945, allocations: 0.6016 MB / 0.9683 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.946, allocations: 0.4991 MB / 0.9688 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/1.956, allocations: 5.034 MB / 0.9737 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-05/1.956, allocations: 38.19 kB / 0.9738 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.956, allocations: 10.78 kB / 0.9738 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/1.956, allocations: 14.62 kB / 0.9738 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/1.982, allocations: 12.22 MB / 0.9857 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/1.982, allocations: 15.95 kB / 0.9857 GB, free: 77.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.984, allocations: 0.5143 MB / 0.9862 GB, free: 77.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/1.987, allocations: 0.86 MB / 0.9871 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004195/1.987, allocations: 26.47 kB / 0.9871 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006827/1.994, allocations: 5.148 MB / 0.9921 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/1.994, allocations: 19.94 kB / 0.9922 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/2.008, allocations: 9.768 MB / 1.002 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/2.01, allocations: 0.5241 MB / 1.002 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/2.012, allocations: 18.91 kB / 1.002 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/2.014, allocations: 124.9 kB / 1.002 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/2.014, allocations: 218.8 kB / 1.003 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/2.015, allocations: 99.95 kB / 1.003 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005324/2.02, allocations: 3.036 MB / 1.006 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/2.02, allocations: 4 kB / 1.006 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01112/2.031, allocations: 1.424 MB / 1.007 GB, free: 57.7 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 (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.001063/2.032, allocations: 216.4 kB / 1.007 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01204/2.044, allocations: 7.288 MB / 1.014 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.044, allocations: 8.062 kB / 1.014 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003472/2.048, allocations: 2.266 MB / 1.017 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/2.051, allocations: 0.5145 MB / 1.017 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/2.076, allocations: 12.49 MB / 1.029 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007307/2.084, allocations: 5.311 MB / 1.034 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007821/2.092, allocations: 3.116 MB / 1.037 GB, free: 31.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/2.093, allocations: 373.9 kB / 1.038 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/2.093, allocations: 0 / 1.038 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.3833/2.476, allocations: 50.4 MB / 1.087 GB, free: 120.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches