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.001461/0.001462, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001382/0.001383, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2203/0.2203, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4309, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01769/0.4487, allocations: 16.27 MB / 0.5348 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4626, allocations: 5.344 MB / 0.54 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005086/0.4677, allocations: 101.2 kB / 0.5401 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00946/0.4772, allocations: 4.176 MB / 0.5442 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008961/0.4863, allocations: 2.748 MB / 0.5469 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.4898, allocations: 1.262 MB / 0.5481 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01206/0.5019, allocations: 7.613 MB / 0.5555 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008055/0.51, allocations: 5.842 MB / 0.5612 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005605/0.5156, allocations: 2.683 MB / 0.5638 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006435/0.5221, allocations: 3.778 MB / 0.5675 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.5245, allocations: 0.5977 MB / 0.5681 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004609/0.5291, allocations: 1.764 MB / 0.5698 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004784/0.5339, allocations: 3.332 MB / 0.5731 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008441/0.5424, allocations: 3.806 MB / 0.5768 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.5587, allocations: 12.38 MB / 0.5889 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5587, allocations: 3.938 kB / 0.5889 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5587, allocations: 0 / 0.5889 GB, free: 4.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.5592, allocations: 4 kB / 0.5889 GB, free: 4.117 MB / 446.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.01989/0.5791, allocations: 7.878 MB / 0.5966 GB, free: 12.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5792, allocations: 12.03 kB / 0.5966 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.5951, allocations: 3.941 MB / 0.6005 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.6057, allocations: 4.311 MB / 0.6047 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.6061, allocations: 402 kB / 0.6051 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00252/0.6086, allocations: 0.5541 MB / 0.6056 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03427/0.6429, allocations: 18.87 MB / 0.624 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/0.6431, allocations: 67.38 kB / 0.6241 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006846/0.6438, allocations: 247.8 kB / 0.6243 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004766/0.6486, allocations: 3.436 MB / 0.6277 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03594/0.6845, allocations: 16.62 MB / 0.6439 GB, free: 10.55 MB / 0.4981 GB 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.09598/0.7805, allocations: 66.6 MB / 0.709 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4011/1.182, allocations: 6.261 MB / 0.7151 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006284/1.188, allocations: 2.834 MB / 0.7178 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02948/1.218, allocations: 13.86 MB / 0.7314 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/1.218, allocations: 57.91 kB / 0.7314 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 5.771e-06/1.218, allocations: 0 / 0.7314 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.09539/1.313, allocations: 25.04 MB / 0.7559 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.313, allocations: 184.3 kB / 0.7561 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/1.324, allocations: 5.88 MB / 0.7618 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007496/1.325, allocations: 69.7 kB / 0.7619 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003029/1.328, allocations: 4.959 MB / 0.7667 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.33, allocations: 1.285 MB / 0.768 GB, free: 134 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004115/1.334, allocations: 1.908 MB / 0.7698 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/1.334, allocations: 305.1 kB / 0.7701 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005188/1.339, allocations: 3.349 MB / 0.7734 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008694/1.348, allocations: 8.876 MB / 0.7821 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/1.362, allocations: 13.19 MB / 0.7949 GB, free: 101 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/1.362, allocations: 56 kB / 0.795 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02703/1.389, allocations: 12.99 MB / 0.8077 GB, free: 87.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003108/1.389, allocations: 92.25 kB / 0.8078 GB, free: 87.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004146/1.39, allocations: 195.9 kB / 0.8079 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004432/1.394, allocations: 1.317 MB / 0.8092 GB, free: 86.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/1.402, allocations: 2.207 MB / 0.8114 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.413, allocations: 7.842 MB / 0.819 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00801/1.421, allocations: 0.4994 MB / 0.8195 GB, free: 75.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/1.423, allocations: 0.5547 MB / 0.8201 GB, free: 75.04 MB / 0.5606 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.007659/1.431, allocations: 3.452 MB / 0.8234 GB, free: 71.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/1.433, allocations: 0.5206 MB / 0.824 GB, free: 71.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.446, allocations: 5.414 MB / 0.8292 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/1.446, allocations: 36 kB / 0.8293 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/1.446, allocations: 8 kB / 0.8293 GB, free: 65.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-05/1.446, allocations: 11.95 kB / 0.8293 GB, free: 65.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0322/1.478, allocations: 13.92 MB / 0.8429 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.146e-05/1.479, allocations: 12.19 kB / 0.8429 GB, free: 51.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.481, allocations: 0.4983 MB / 0.8434 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/1.484, allocations: 0.8049 MB / 0.8442 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004991/1.485, allocations: 67.98 kB / 0.8442 GB, free: 50 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008545/1.493, allocations: 5.807 MB / 0.8499 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.493, allocations: 15.94 kB / 0.8499 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.507, allocations: 8.293 MB / 0.858 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.508, allocations: 0.5722 MB / 0.8586 GB, free: 34.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.51, allocations: 63.98 kB / 0.8586 GB, free: 34.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.513, allocations: 135.6 kB / 0.8588 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/1.513, allocations: 225.4 kB / 0.859 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003361/1.514, allocations: 96 kB / 0.8591 GB, free: 34.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006994/1.521, allocations: 3.651 MB / 0.8626 GB, free: 30.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.521, allocations: 4 kB / 0.8626 GB, free: 30.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009715/1.531, allocations: 1.652 MB / 0.8643 GB, free: 29.08 MB / 0.5606 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.001167/1.532, allocations: 274.1 kB / 0.8645 GB, free: 28.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.546, allocations: 7.935 MB / 0.8723 GB, free: 20.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/1.546, allocations: 8.125 kB / 0.8723 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003724/1.549, allocations: 2.37 MB / 0.8746 GB, free: 18.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/1.555, allocations: 0.6895 MB / 0.8753 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/1.586, allocations: 15.21 MB / 0.8901 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00986/1.596, allocations: 5.16 MB / 0.8952 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.009109/1.605, allocations: 2.966 MB / 0.8981 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.607, allocations: 379.4 kB / 0.8984 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/1.607, allocations: 0 / 0.8984 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of Templates: time 0.6305/2.238, allocations: 55.84 MB / 0.9529 GB, free: 205.6 MB / 0.6232 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