Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001971/0.001972, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002722/0.002722, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.761/2.761, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5015/0.5015, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 71.98 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2634, allocations: 62.45 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.7573/1.021, allocations: 62.64 MB / 0.5301 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06424/1.085, allocations: 12.99 MB / 0.5428 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03401/1.119, allocations: 273.3 kB / 0.543 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01621/1.136, allocations: 4.386 MB / 0.5473 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01849/1.154, allocations: 2.777 MB / 0.55 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008335/1.163, allocations: 1.415 MB / 0.5514 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02822/1.191, allocations: 9.135 MB / 0.5603 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01916/1.21, allocations: 6.763 MB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/1.222, allocations: 3.053 MB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/1.24, allocations: 4.674 MB / 0.5745 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00515/1.246, allocations: 0.6641 MB / 0.5751 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/1.26, allocations: 1.849 MB / 0.5769 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01556/1.276, allocations: 3.748 MB / 0.5806 GB, free: 352 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0206/1.297, allocations: 4.211 MB / 0.5847 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03039/1.327, allocations: 10.75 MB / 0.5952 GB, free: 1.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/1.327, allocations: 0 / 0.5952 GB, free: 1.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/1.327, allocations: 0 / 0.5952 GB, free: 1.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008077/1.328, allocations: 0 / 0.5952 GB, free: 1.336 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.05738/1.386, allocations: 8.985 MB / 0.604 GB, free: 8.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001179/1.386, allocations: 16.02 kB / 0.604 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03467/1.42, allocations: 4.1 MB / 0.608 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02662/1.447, allocations: 4.982 MB / 0.6129 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/1.449, allocations: 434.9 kB / 0.6133 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00643/1.455, allocations: 0.5971 MB / 0.6139 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08442/1.54, allocations: 20.63 MB / 0.634 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004435/1.54, allocations: 79.25 kB / 0.6341 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004307/1.544, allocations: 271.7 kB / 0.6343 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01078/1.555, allocations: 3.714 MB / 0.638 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07206/1.627, allocations: 18.21 MB / 0.6557 GB, free: 1.992 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.444/3.072, allocations: 74.61 MB / 0.7286 GB, free: 147.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03809/3.11, allocations: 7.458 MB / 0.7359 GB, free: 145.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01328/3.123, allocations: 4.122 MB / 0.7399 GB, free: 145.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0698/3.193, allocations: 18.28 MB / 0.7578 GB, free: 137.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/3.193, allocations: 75.14 kB / 0.7578 GB, free: 137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=335): time 2.302e-05/3.193, allocations: 0 / 0.7578 GB, free: 137 MB / 0.545 GB Notification: Performance of matching and sorting (n=419): time 0.2153/3.409, allocations: 34.69 MB / 0.7917 GB, free: 114.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/3.409, allocations: 192.9 kB / 0.7919 GB, free: 114.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03137/3.44, allocations: 6.466 MB / 0.7982 GB, free: 108 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002029/3.442, allocations: 85.7 kB / 0.7983 GB, free: 107.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007104/3.45, allocations: 5.367 MB / 0.8035 GB, free: 102.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004403/3.454, allocations: 1.542 MB / 0.805 GB, free: 101 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02249/3.477, allocations: 2.127 MB / 0.8071 GB, free: 98.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001074/3.477, allocations: 301.1 kB / 0.8074 GB, free: 98.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01796/3.495, allocations: 4.35 MB / 0.8116 GB, free: 94.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02804/3.523, allocations: 10.28 MB / 0.8217 GB, free: 81.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.037/3.56, allocations: 15.69 MB / 0.837 GB, free: 62.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000509/3.561, allocations: 57.44 kB / 0.8371 GB, free: 62.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.05821/3.619, allocations: 16.36 MB / 0.853 GB, free: 46.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008937/3.62, allocations: 96.03 kB / 0.8531 GB, free: 46.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007992/3.621, allocations: 208 kB / 0.8533 GB, free: 46.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/3.633, allocations: 2.373 MB / 0.8556 GB, free: 43.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02022/3.653, allocations: 2.464 MB / 0.858 GB, free: 41.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04161/3.695, allocations: 12.75 MB / 0.8705 GB, free: 28.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02721/3.722, allocations: 0.5896 MB / 0.8711 GB, free: 27.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005078/3.727, allocations: 0.5969 MB / 0.8717 GB, free: 27.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.02006/3.747, allocations: 3.777 MB / 0.8754 GB, free: 23.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003983/3.752, allocations: 0.5862 MB / 0.8759 GB, free: 22.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/3.784, allocations: 8.329 MB / 0.8841 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001782/3.784, allocations: 67.92 kB / 0.8841 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.251e-05/3.784, allocations: 8 kB / 0.8841 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000147/3.784, allocations: 15.94 kB / 0.8841 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06992/3.854, allocations: 18.97 MB / 0.9027 GB, free: 11.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001454/3.854, allocations: 12 kB / 0.9027 GB, free: 11 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005744/3.86, allocations: 0.624 MB / 0.9033 GB, free: 10.37 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/3.872, allocations: 1.815 MB / 0.9051 GB, free: 8.555 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00156/3.873, allocations: 79.98 kB / 0.9051 GB, free: 8.477 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03302/3.906, allocations: 10.84 MB / 0.9157 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.28e-05/3.907, allocations: 15.94 kB / 0.9157 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05067/3.957, allocations: 12.49 MB / 0.9279 GB, free: 0.7227 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004527/3.962, allocations: 0.6222 MB / 0.9285 GB, free: 76 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005848/3.968, allocations: 80.03 kB / 0.9286 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008061/3.976, allocations: 202.2 kB / 0.9288 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002626/3.979, allocations: 269.7 kB / 0.9291 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001625/3.98, allocations: 112 kB / 0.9292 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01876/3.999, allocations: 4.02 MB / 0.9331 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.879e-06/3.999, allocations: 0 / 0.9331 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.02229/4.021, allocations: 1.924 MB / 0.935 GB, free: 9.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/4.024, allocations: 278.9 kB / 0.9352 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.6039/4.628, allocations: 15.89 MB / 0.9508 GB, free: 223.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-05/4.628, allocations: 2.188 kB / 0.9508 GB, free: 223.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01395/4.642, allocations: 3.399 MB / 0.9541 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01947/4.662, allocations: 0.796 MB / 0.9549 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09221/4.754, allocations: 22.44 MB / 0.9768 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02381/4.778, allocations: 5.566 MB / 0.9822 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005885/4.784, allocations: 498.8 kB / 0.9827 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of SimCode: time 2.855e-06/4.784, allocations: 0 / 0.9827 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.3764/5.16, allocations: 141 MB / 1.12 GB, free: 75.41 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches