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.001159/0.001159, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.612/1.612, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001027/0.001027, allocations: 98.86 kB / 270.2 MB, free: 13.35 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.2223/0.2223, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.4894, allocations: 116.2 MB / 0.5922 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4897, allocations: 83.02 kB / 0.5923 GB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6353/1.125, allocations: 154.6 MB / 0.7433 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.481e-06/1.125, allocations: 0 / 0.7433 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006703/1.126, allocations: 137.4 kB / 0.7434 GB, free: 103.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.02933/1.155, allocations: 6.978 MB / 0.7502 GB, free: 101 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/1.155, allocations: 13.16 kB / 0.7502 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/1.184, allocations: 6.671 MB / 0.7567 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.207, allocations: 8.424 MB / 0.765 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006647/1.207, allocations: 0.5304 MB / 0.7655 GB, free: 99.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005223/1.213, allocations: 0.7014 MB / 0.7662 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04426/1.257, allocations: 18.87 MB / 0.7846 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004811/1.257, allocations: 90.25 kB / 0.7847 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002984/1.26, allocations: 335.7 kB / 0.785 GB, free: 94.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002264/1.263, allocations: 1.728 MB / 0.7867 GB, free: 94.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/1.295, allocations: 16.53 MB / 0.8028 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08355/1.379, allocations: 74.19 MB / 0.8753 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/1.393, allocations: 6.173 MB / 0.8813 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02469/1.418, allocations: 13.91 MB / 0.8949 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/1.418, allocations: 60.52 kB / 0.895 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 5.811e-06/1.418, allocations: 0 / 0.895 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.3744/1.792, allocations: 24.74 MB / 0.9191 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.793, allocations: 186.3 kB / 0.9193 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/1.807, allocations: 5.271 MB / 0.9245 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.808, allocations: 77.45 kB / 0.9245 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005388/1.813, allocations: 5.012 MB / 0.9294 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002291/1.816, allocations: 1.278 MB / 0.9307 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009742/1.817, allocations: 190.5 kB / 0.9309 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005591/1.817, allocations: 0.7105 MB / 0.9315 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/1.822, allocations: 3.261 MB / 0.9347 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009045/1.831, allocations: 8.727 MB / 0.9433 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008889/1.84, allocations: 5.255 MB / 0.9484 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002792/1.841, allocations: 60.53 kB / 0.9484 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03138/1.872, allocations: 12.77 MB / 0.9609 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004678/1.873, allocations: 87.31 kB / 0.961 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006273/1.873, allocations: 192.9 kB / 0.9612 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004824/1.878, allocations: 1.333 MB / 0.9625 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/1.886, allocations: 2.184 MB / 0.9646 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.898, allocations: 7.393 MB / 0.9718 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009289/1.908, allocations: 0.5618 MB / 0.9724 GB, free: 91.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/1.91, allocations: 0.5475 MB / 0.9729 GB, free: 91.14 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 () * 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.00972/1.92, allocations: 3.448 MB / 0.9763 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/1.922, allocations: 0.5333 MB / 0.9768 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.935, allocations: 5.334 MB / 0.982 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-05/1.935, allocations: 38.38 kB / 0.9821 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.935, allocations: 7.297 kB / 0.9821 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/1.935, allocations: 15.28 kB / 0.9821 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03571/1.971, allocations: 14.11 MB / 0.9958 GB, free: 81.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/1.971, allocations: 16.17 kB / 0.9959 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.973, allocations: 0.5323 MB / 0.9964 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.977, allocations: 0.9194 MB / 0.9973 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004839/1.977, allocations: 79.44 kB / 0.9974 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008546/1.986, allocations: 5.699 MB / 1.003 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.986, allocations: 19.19 kB / 1.003 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/2.001, allocations: 10.24 MB / 1.013 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003467/2.004, allocations: 0.9478 MB / 1.014 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/2.006, allocations: 63.33 kB / 1.014 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/2.01, allocations: 194.2 kB / 1.014 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/2.01, allocations: 217.4 kB / 1.014 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003237/2.011, allocations: 103.8 kB / 1.014 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007488/2.018, allocations: 3.671 MB / 1.018 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/2.018, allocations: 0 / 1.018 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01088/2.029, allocations: 1.656 MB / 1.02 GB, free: 65.62 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 () * 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.001093/2.03, allocations: 261.3 kB / 1.02 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01375/2.044, allocations: 7.798 MB / 1.027 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/2.044, allocations: 0 / 1.027 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00398/2.048, allocations: 2.397 MB / 1.03 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.052, allocations: 0.6512 MB / 1.03 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/2.083, allocations: 18.18 MB / 1.048 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009579/2.093, allocations: 5.329 MB / 1.053 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008813/2.102, allocations: 3.04 MB / 1.056 GB, free: 33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/2.104, allocations: 378.8 kB / 1.057 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/2.104, allocations: 0 / 1.057 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.3408/2.445, allocations: 55.4 MB / 1.111 GB, free: 108.8 MB / 0.5261 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/jenkins/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