Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008492/0.0008492, allocations: 107.9 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2805/0.2805, allocations: 45.22 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002731, allocations: 8 kB / 468.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.29, allocations: 63.24 MB / 0.5192 GB, free: 43.47 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4185, allocations: 119.2 MB / 0.6355 GB, free: 2.441 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4187, allocations: 83.95 kB / 0.6356 GB, free: 2.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5766/0.9953, allocations: 160.1 MB / 0.7919 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9953, allocations: 0 / 0.7919 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003221/0.9957, allocations: 130.7 kB / 0.7921 GB, free: 81.46 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.01819/1.014, allocations: 6.967 MB / 0.7989 GB, free: 76.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.014, allocations: 11.97 kB / 0.7989 GB, free: 76.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02502/1.039, allocations: 6.675 MB / 0.8054 GB, free: 69.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/1.057, allocations: 7.207 MB / 0.8124 GB, free: 62.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/1.058, allocations: 0.5255 MB / 0.813 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003014/1.061, allocations: 0.7066 MB / 0.8136 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/1.095, allocations: 18.87 MB / 0.8321 GB, free: 41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003053/1.095, allocations: 83.27 kB / 0.8322 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/1.096, allocations: 335.8 kB / 0.8325 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/1.099, allocations: 1.719 MB / 0.8342 GB, free: 38.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/1.128, allocations: 16.53 MB / 0.8503 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.337/1.465, allocations: 74.13 MB / 0.9227 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/1.48, allocations: 6.147 MB / 0.9287 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02229/1.502, allocations: 13.89 MB / 0.9423 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.502, allocations: 62.97 kB / 0.9423 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 6.432e-06/1.502, allocations: 0 / 0.9423 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=344): time 0.08326/1.585, allocations: 24.59 MB / 0.9663 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/1.585, allocations: 187.1 kB / 0.9665 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.596, allocations: 5.223 MB / 0.9716 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000683/1.596, allocations: 78.73 kB / 0.9717 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002826/1.599, allocations: 4.996 MB / 0.9766 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.601, allocations: 1.281 MB / 0.9778 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004973/1.601, allocations: 186.1 kB / 0.978 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004466/1.602, allocations: 0.7132 MB / 0.9787 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004568/1.606, allocations: 3.266 MB / 0.9819 GB, free: 47.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008026/1.614, allocations: 8.727 MB / 0.9904 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008017/1.622, allocations: 5.25 MB / 0.9955 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/1.623, allocations: 55.84 kB / 0.9956 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02474/1.647, allocations: 12.77 MB / 1.008 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/1.648, allocations: 89.55 kB / 1.008 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003828/1.648, allocations: 192.6 kB / 1.008 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/1.652, allocations: 1.328 MB / 1.01 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006912/1.659, allocations: 2.18 MB / 1.012 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/1.67, allocations: 7.41 MB / 1.019 GB, free: 29.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007463/1.677, allocations: 0.5592 MB / 1.02 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.679, allocations: 0.5439 MB / 1.02 GB, free: 29.07 MB / 0.5261 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.008084/1.687, allocations: 3.448 MB / 1.023 GB, free: 27.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.688, allocations: 0.5295 MB / 1.024 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.7, allocations: 5.333 MB / 1.029 GB, free: 24.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/1.7, allocations: 37.25 kB / 1.029 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.7, allocations: 8 kB / 1.029 GB, free: 24.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/1.7, allocations: 16.8 kB / 1.029 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/1.729, allocations: 14.09 MB / 1.043 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/1.729, allocations: 12 kB / 1.043 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/1.731, allocations: 0.5362 MB / 1.044 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/1.734, allocations: 0.9307 MB / 1.044 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003846/1.735, allocations: 70.56 kB / 1.044 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008287/1.743, allocations: 5.701 MB / 1.05 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.743, allocations: 22.28 kB / 1.05 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.762, allocations: 10.5 MB / 1.06 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.764, allocations: 0.5683 MB / 1.061 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.766, allocations: 60.62 kB / 1.061 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.769, allocations: 191.3 kB / 1.061 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/1.769, allocations: 220.9 kB / 1.061 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003162/1.77, allocations: 105 kB / 1.061 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007511/1.777, allocations: 3.635 MB / 1.065 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/1.777, allocations: 0 / 1.065 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01014/1.787, allocations: 1.665 MB / 1.067 GB, free: 7.391 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.001276/1.789, allocations: 277.3 kB / 1.067 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01427/1.803, allocations: 7.777 MB / 1.074 GB, free: 248 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.803, allocations: 4.438 kB / 1.074 GB, free: 244 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009538/1.813, allocations: 2.853 MB / 1.077 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/1.817, allocations: 0.6338 MB / 1.078 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03664/1.854, allocations: 18.14 MB / 1.096 GB, free: 13.81 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009937/1.864, allocations: 5.316 MB / 1.101 GB, free: 9.188 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007961/1.872, allocations: 3.042 MB / 1.104 GB, free: 6.152 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.873, allocations: 371.4 kB / 1.104 GB, free: 5.789 MB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/1.873, allocations: 8 kB / 1.104 GB, free: 5.781 MB / 0.573 GB Notification: Performance of Templates: time 0.3259/2.199, allocations: 55.31 MB / 1.158 GB, free: 153.9 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches