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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 241.9 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2959/0.2959, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 72.14 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1147, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3026/0.4174, allocations: 58.16 MB / 0.5145 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03084/0.4483, allocations: 12.23 MB / 0.5265 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01902/0.4673, allocations: 250.2 kB / 0.5267 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007604/0.475, allocations: 4.007 MB / 0.5306 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008951/0.484, allocations: 2.578 MB / 0.5331 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.4874, allocations: 1.19 MB / 0.5343 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.498, allocations: 7.798 MB / 0.5419 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008192/0.5062, allocations: 6.17 MB / 0.5479 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005806/0.5121, allocations: 2.716 MB / 0.5506 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006551/0.5186, allocations: 4.156 MB / 0.5546 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.5209, allocations: 0.5938 MB / 0.5552 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.5262, allocations: 1.781 MB / 0.557 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005076/0.5313, allocations: 3.357 MB / 0.5602 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009342/0.5407, allocations: 3.831 MB / 0.564 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.5583, allocations: 12.02 MB / 0.5757 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5583, allocations: 0 / 0.5757 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5583, allocations: 0 / 0.5757 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004567/0.5588, allocations: 0 / 0.5757 GB, free: 1.754 MB / 414.1 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.01897/0.5778, allocations: 7.889 MB / 0.5834 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5778, allocations: 8.031 kB / 0.5834 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.594, allocations: 3.942 MB / 0.5873 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.6043, allocations: 4.265 MB / 0.5915 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.6048, allocations: 397.2 kB / 0.5918 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003439/0.6082, allocations: 0.5453 MB / 0.5924 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04157/0.6498, allocations: 18.88 MB / 0.6108 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.6501, allocations: 71.39 kB / 0.6109 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.6512, allocations: 248.8 kB / 0.6111 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005392/0.6566, allocations: 3.428 MB / 0.6144 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0376/0.6942, allocations: 16.63 MB / 0.6307 GB, free: 8.863 MB / 478.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 0.0949/0.7892, allocations: 66.91 MB / 0.696 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.434/1.223, allocations: 6.259 MB / 0.7021 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004981/1.228, allocations: 2.83 MB / 0.7049 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/1.254, allocations: 13.86 MB / 0.7184 GB, free: 177 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/1.254, allocations: 60.25 kB / 0.7185 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.272e-06/1.254, allocations: 3 kB / 0.7185 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08296/1.337, allocations: 25.01 MB / 0.7429 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/1.338, allocations: 196.2 kB / 0.7431 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007092/1.345, allocations: 5.873 MB / 0.7489 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007483/1.345, allocations: 80.67 kB / 0.7489 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.348, allocations: 4.962 MB / 0.7538 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.35, allocations: 1.273 MB / 0.755 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004249/1.354, allocations: 1.912 MB / 0.7569 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/1.354, allocations: 301.1 kB / 0.7572 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/1.359, allocations: 3.357 MB / 0.7605 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007227/1.366, allocations: 8.871 MB / 0.7691 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/1.38, allocations: 13.19 MB / 0.782 GB, free: 122 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/1.38, allocations: 56 kB / 0.782 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02561/1.406, allocations: 12.99 MB / 0.7947 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/1.406, allocations: 90.03 kB / 0.7948 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003345/1.406, allocations: 192 kB / 0.795 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004426/1.411, allocations: 1.33 MB / 0.7963 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007202/1.418, allocations: 2.207 MB / 0.7985 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.43, allocations: 7.848 MB / 0.8061 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007633/1.437, allocations: 0.5057 MB / 0.8066 GB, free: 96.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.439, allocations: 0.5508 MB / 0.8072 GB, free: 96.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006633/1.446, allocations: 3.457 MB / 0.8105 GB, free: 92.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.447, allocations: 0.5206 MB / 0.811 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.459, allocations: 5.401 MB / 0.8163 GB, free: 86.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-05/1.459, allocations: 36 kB / 0.8163 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-05/1.459, allocations: 8 kB / 0.8164 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.459, allocations: 15.94 kB / 0.8164 GB, free: 86.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/1.487, allocations: 14.01 MB / 0.8301 GB, free: 72.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/1.487, allocations: 15.98 kB / 0.8301 GB, free: 72.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.489, allocations: 499.2 kB / 0.8305 GB, free: 71.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/1.492, allocations: 0.8158 MB / 0.8313 GB, free: 70.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/1.493, allocations: 80.2 kB / 0.8314 GB, free: 70.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/1.501, allocations: 5.811 MB / 0.8371 GB, free: 64.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/1.501, allocations: 23.3 kB / 0.8371 GB, free: 64.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.515, allocations: 8.28 MB / 0.8452 GB, free: 56.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.517, allocations: 0.5605 MB / 0.8458 GB, free: 55.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.518, allocations: 71.67 kB / 0.8458 GB, free: 55.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.521, allocations: 127.9 kB / 0.8459 GB, free: 55.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/1.522, allocations: 221.5 kB / 0.8462 GB, free: 55.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.522, allocations: 104 kB / 0.8463 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005472/1.528, allocations: 3.654 MB / 0.8498 GB, free: 51.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/1.528, allocations: 3.938 kB / 0.8498 GB, free: 51.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008657/1.536, allocations: 1.651 MB / 0.8514 GB, free: 49.99 MB / 0.5294 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/1.538, allocations: 266.3 kB / 0.8517 GB, free: 49.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01865/1.556, allocations: 11.32 MB / 0.8627 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.556, allocations: 0 / 0.8627 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00351/1.56, allocations: 2.376 MB / 0.8651 GB, free: 36.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.564, allocations: 0.7028 MB / 0.8657 GB, free: 35.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/1.589, allocations: 18.84 MB / 0.8841 GB, free: 16.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005145/1.594, allocations: 5.153 MB / 0.8892 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006774/1.601, allocations: 2.966 MB / 0.8921 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.603, allocations: 391.4 kB / 0.8925 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/1.603, allocations: 0 / 0.8925 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of Templates: time 0.3466/1.949, allocations: 60.88 MB / 0.9519 GB, free: 134.1 MB / 0.5294 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches