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.001062/0.001062, allocations: 201.2 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008069/0.0008071, allocations: 99.38 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3836/0.3836, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002914, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3503, allocations: 62.95 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.5064, allocations: 119.2 MB / 0.6348 GB, free: 2.043 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5068, allocations: 87.94 kB / 0.6349 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6184/1.125, allocations: 156.2 MB / 0.7874 GB, free: 57.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.125, allocations: 0 / 0.7874 GB, free: 57.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003608/1.126, allocations: 136 kB / 0.7875 GB, free: 57.43 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.0186/1.144, allocations: 6.813 MB / 0.7942 GB, free: 50.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.144, allocations: 12.02 kB / 0.7942 GB, free: 50.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/1.167, allocations: 5.786 MB / 0.7998 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/1.182, allocations: 6.415 MB / 0.8061 GB, free: 38.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/1.182, allocations: 0.5298 MB / 0.8066 GB, free: 37.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/1.186, allocations: 0.7109 MB / 0.8073 GB, free: 36.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03828/1.224, allocations: 18.7 MB / 0.8256 GB, free: 16.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/1.224, allocations: 87.11 kB / 0.8256 GB, free: 16.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003138/1.228, allocations: 339.8 kB / 0.826 GB, free: 16.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002317/1.23, allocations: 1.719 MB / 0.8276 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03216/1.262, allocations: 16.29 MB / 0.8435 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4008/1.663, allocations: 74.04 MB / 0.9158 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/1.678, allocations: 6.15 MB / 0.9219 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/1.682, allocations: 2.75 MB / 0.9245 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02326/1.705, allocations: 13.75 MB / 0.938 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/1.705, allocations: 65.84 kB / 0.938 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 5.81e-06/1.705, allocations: 0 / 0.938 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=344): time 0.07446/1.78, allocations: 24.07 MB / 0.9615 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.78, allocations: 191.9 kB / 0.9617 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00802/1.788, allocations: 5.864 MB / 0.9674 GB, free: 54.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006413/1.788, allocations: 74.55 kB / 0.9675 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.791, allocations: 5.001 MB / 0.9724 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001611/1.793, allocations: 1.275 MB / 0.9737 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006046/1.793, allocations: 187.8 kB / 0.9738 GB, free: 50.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005082/1.794, allocations: 0.7093 MB / 0.9745 GB, free: 50.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005043/1.799, allocations: 3.262 MB / 0.9777 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008025/1.807, allocations: 8.768 MB / 0.9863 GB, free: 40.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.822, allocations: 13.03 MB / 0.999 GB, free: 31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002706/1.823, allocations: 55.56 kB / 0.999 GB, free: 31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02751/1.85, allocations: 12.76 MB / 1.012 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003199/1.851, allocations: 88.09 kB / 1.012 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004548/1.851, allocations: 193.7 kB / 1.012 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/1.855, allocations: 1.308 MB / 1.013 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007493/1.863, allocations: 2.187 MB / 1.015 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.874, allocations: 7.158 MB / 1.022 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008852/1.882, allocations: 0.565 MB / 1.023 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/1.885, allocations: 0.548 MB / 1.023 GB, free: 18.81 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.008028/1.893, allocations: 3.445 MB / 1.027 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.894, allocations: 0.536 MB / 1.027 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.904, allocations: 5.32 MB / 1.032 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/1.905, allocations: 39.44 kB / 1.032 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.905, allocations: 8 kB / 1.032 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-05/1.905, allocations: 18.67 kB / 1.032 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/1.934, allocations: 14.2 MB / 1.046 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/1.935, allocations: 14.62 kB / 1.046 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/1.937, allocations: 0.5312 MB / 1.047 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/1.94, allocations: 0.9212 MB / 1.048 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000463/1.941, allocations: 71.31 kB / 1.048 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009037/1.95, allocations: 5.466 MB / 1.053 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/1.95, allocations: 18.98 kB / 1.053 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.965, allocations: 8.494 MB / 1.061 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.967, allocations: 0.5634 MB / 1.062 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.968, allocations: 70.86 kB / 1.062 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.97, allocations: 187.8 kB / 1.062 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/1.971, allocations: 225.5 kB / 1.062 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.971, allocations: 102.8 kB / 1.063 GB, free: 428 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01784/1.989, allocations: 4.397 MB / 1.067 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.51e-07/1.989, allocations: 0 / 1.067 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01152/2.001, allocations: 1.663 MB / 1.068 GB, free: 13.64 MB / 0.5573 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.001105/2.002, allocations: 275.3 kB / 1.069 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02124/2.023, allocations: 7.781 MB / 1.076 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/2.023, allocations: 0 / 1.076 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007225/2.03, allocations: 2.402 MB / 1.079 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02187/2.052, allocations: 0.6811 MB / 1.079 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05882/2.111, allocations: 18.22 MB / 1.097 GB, free: 1.402 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0187/2.13, allocations: 5.171 MB / 1.102 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01682/2.147, allocations: 3.035 MB / 1.105 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002534/2.149, allocations: 379.4 kB / 1.106 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/2.149, allocations: 0 / 1.106 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of Templates: time 0.4856/2.635, allocations: 55.48 MB / 1.16 GB, free: 155.6 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/jenkins1/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