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.001061/0.001061, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.2 MB / 241 MB, free: 10.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 106 kB / 292.2 MB, free: 10.69 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.3261/0.3261, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3136, allocations: 61.89 MB / 0.5095 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4584, allocations: 118.3 MB / 0.625 GB, free: 8.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4587, allocations: 83.95 kB / 0.6251 GB, free: 8.738 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5918/1.05, allocations: 156.4 MB / 0.7778 GB, free: 68.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.051, allocations: 0 / 0.7778 GB, free: 68.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004697/1.051, allocations: 136 kB / 0.778 GB, free: 68.6 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.02397/1.075, allocations: 6.946 MB / 0.7848 GB, free: 61.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.075, allocations: 8.031 kB / 0.7848 GB, free: 61.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02655/1.102, allocations: 6.668 MB / 0.7913 GB, free: 54.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0186/1.12, allocations: 7.972 MB / 0.7991 GB, free: 46.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005204/1.121, allocations: 0.5294 MB / 0.7996 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003456/1.124, allocations: 0.7066 MB / 0.8003 GB, free: 45.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04082/1.165, allocations: 18.86 MB / 0.8187 GB, free: 25.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005609/1.166, allocations: 91.17 kB / 0.8188 GB, free: 25.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003523/1.169, allocations: 331.8 kB / 0.8191 GB, free: 24.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002637/1.172, allocations: 1.727 MB / 0.8208 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03463/1.207, allocations: 16.54 MB / 0.8369 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3643/1.571, allocations: 74.14 MB / 0.9093 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/1.585, allocations: 6.144 MB / 0.9153 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/1.604, allocations: 13.88 MB / 0.9289 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/1.604, allocations: 64.25 kB / 0.9289 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 5.941e-06/1.605, allocations: 1.375 kB / 0.9289 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.0842/1.689, allocations: 24.58 MB / 0.953 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/1.689, allocations: 196.3 kB / 0.9531 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/1.7, allocations: 5.231 MB / 0.9583 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005342/1.7, allocations: 77.98 kB / 0.9583 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002853/1.703, allocations: 5 MB / 0.9632 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.704, allocations: 1.273 MB / 0.9645 GB, free: 38.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/1.705, allocations: 187.9 kB / 0.9646 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003666/1.705, allocations: 0.7102 MB / 0.9653 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.709, allocations: 3.26 MB / 0.9685 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005812/1.715, allocations: 8.726 MB / 0.977 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/1.721, allocations: 5.26 MB / 0.9822 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.786e-05/1.722, allocations: 54.66 kB / 0.9822 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02229/1.744, allocations: 12.76 MB / 0.9947 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000313/1.744, allocations: 97.88 kB / 0.9948 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004503/1.745, allocations: 196.3 kB / 0.995 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/1.749, allocations: 1.321 MB / 0.9962 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00742/1.756, allocations: 2.188 MB / 0.9984 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/1.768, allocations: 7.398 MB / 1.006 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007334/1.775, allocations: 0.5652 MB / 1.006 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001761/1.777, allocations: 0.5515 MB / 1.007 GB, free: 17.55 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.007475/1.785, allocations: 3.451 MB / 1.01 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.786, allocations: 0.5244 MB / 1.011 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.798, allocations: 5.318 MB / 1.016 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-05/1.798, allocations: 36 kB / 1.016 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/1.798, allocations: 11.05 kB / 1.016 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/1.798, allocations: 18.02 kB / 1.016 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0315/1.829, allocations: 14.09 MB / 1.03 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-05/1.829, allocations: 12 kB / 1.03 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.832, allocations: 0.5352 MB / 1.03 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/1.835, allocations: 0.9243 MB / 1.031 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004407/1.836, allocations: 71.75 kB / 1.031 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009452/1.845, allocations: 5.703 MB / 1.037 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/1.845, allocations: 23.53 kB / 1.037 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.861, allocations: 10.21 MB / 1.047 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.863, allocations: 0.5784 MB / 1.047 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.864, allocations: 74.48 kB / 1.047 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.867, allocations: 187 kB / 1.047 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005541/1.868, allocations: 216.4 kB / 1.048 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.868, allocations: 97.5 kB / 1.048 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005996/1.874, allocations: 3.64 MB / 1.051 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/1.874, allocations: 4 kB / 1.051 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00865/1.883, allocations: 1.657 MB / 1.053 GB, free: 8.059 MB / 0.5417 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.0008178/1.884, allocations: 274.8 kB / 1.053 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.898, allocations: 7.782 MB / 1.061 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.898, allocations: 1.938 kB / 1.061 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/1.904, allocations: 2.578 MB / 1.063 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/1.908, allocations: 0.6391 MB / 1.064 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/1.939, allocations: 18.13 MB / 1.082 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006639/1.946, allocations: 5.321 MB / 1.087 GB, free: 9.875 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007868/1.954, allocations: 3.039 MB / 1.09 GB, free: 7.031 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.955, allocations: 375.4 kB / 1.09 GB, free: 6.664 MB / 0.573 GB Notification: Performance of SimCode: time 1.022e-06/1.955, allocations: 4 kB / 1.09 GB, free: 6.66 MB / 0.573 GB Notification: Performance of Templates: time 0.3337/2.289, allocations: 55.26 MB / 1.144 GB, free: 144.7 MB / 0.573 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