Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002822/0.002822, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4187/0.4187, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.483e-05, allocations: 6.25 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02164/0.02168, allocations: 15.57 MB / 392.8 MB, free: 3.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.03552, allocations: 5.232 MB / 398.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.03822, allocations: 111.5 kB / 398.2 MB, free: 14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.04944, allocations: 4.454 MB / 402.6 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.0596, allocations: 2.912 MB / 405.5 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.06423, allocations: 1.411 MB / 407 MB, free: 5.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01729/0.08152, allocations: 8.793 MB / 415.7 MB, free: 12.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.09419, allocations: 5.671 MB / 421.4 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01273/0.1069, allocations: 4.148 MB / 425.6 MB, free: 2.465 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.118, allocations: 4.314 MB / 429.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003287/0.1212, allocations: 0.6094 MB / 430.5 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006647/0.1279, allocations: 1.759 MB / 432.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006824/0.1347, allocations: 3.545 MB / 435.8 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005911/0.1406, allocations: 2.22 MB / 438 MB, free: 5.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2097/0.3504, allocations: 12.55 MB / 450.6 MB, free: 65.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3504, allocations: 0 / 450.6 MB, free: 65.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3504, allocations: 2.078 kB / 450.6 MB, free: 65.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005459/0.3509, allocations: 0 / 450.6 MB, free: 65.66 MB / 410.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.02508/0.376, allocations: 9.415 MB / 460 MB, free: 62.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.376, allocations: 9.125 kB / 460 MB, free: 62.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.3947, allocations: 4.982 MB / 465 MB, free: 61.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.4061, allocations: 3.838 MB / 468.8 MB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.4064, allocations: 392.1 kB / 469.2 MB, free: 61.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002688/0.4091, allocations: 0.5527 MB / 469.7 MB, free: 61.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03268/0.4418, allocations: 12.1 MB / 481.8 MB, free: 55.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.4421, allocations: 66.2 kB / 481.9 MB, free: 55.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009312/0.443, allocations: 246.8 kB / 482.1 MB, free: 55.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005967/0.449, allocations: 3.429 MB / 485.6 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/0.4771, allocations: 7.465 MB / 493 MB, free: 53.68 MB / 410.7 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.09776/0.5749, allocations: 82.47 MB / 0.562 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.5903, allocations: 3.517 MB / 0.5655 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002941/0.5932, allocations: 1.053 MB / 0.5665 GB, free: 7.262 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02451/0.6177, allocations: 8.095 MB / 0.5744 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/0.6178, allocations: 63.39 kB / 0.5745 GB, free: 15.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=284): time 5.951e-06/0.6178, allocations: 0 / 0.5745 GB, free: 15.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=345): time 0.07225/0.6901, allocations: 19.05 MB / 0.5931 GB, free: 12.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004663/0.6905, allocations: 189.7 kB / 0.5932 GB, free: 12.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/0.7023, allocations: 6.558 MB / 0.5996 GB, free: 5.512 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007077/0.703, allocations: 77.7 kB / 0.5997 GB, free: 5.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1934/0.8964, allocations: 5.678 MB / 0.6053 GB, free: 143.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0021/0.8985, allocations: 1.475 MB / 0.6067 GB, free: 143.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003775/0.9022, allocations: 2.418 MB / 0.6091 GB, free: 143.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.9023, allocations: 481.6 kB / 0.6095 GB, free: 143.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/0.9054, allocations: 1.321 MB / 0.6108 GB, free: 143.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/0.9121, allocations: 9.815 MB / 0.6204 GB, free: 132.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.9234, allocations: 12.2 MB / 0.6323 GB, free: 121.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002922/0.9237, allocations: 54.34 kB / 0.6324 GB, free: 121.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0212/0.9449, allocations: 9.239 MB / 0.6414 GB, free: 119.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.9451, allocations: 87.97 kB / 0.6415 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002779/0.9454, allocations: 196 kB / 0.6417 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004804/0.9502, allocations: 1.242 MB / 0.6429 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00764/0.9578, allocations: 2.21 MB / 0.645 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/0.9673, allocations: 5.471 MB / 0.6504 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007749/0.975, allocations: 0.5934 MB / 0.651 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/0.9768, allocations: 0.5544 MB / 0.6515 GB, free: 115.7 MB / 474.7 MB 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.003741/0.9805, allocations: 1.083 MB / 0.6526 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/0.9818, allocations: 0.5898 MB / 0.6531 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/0.9901, allocations: 3.181 MB / 0.6562 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.9901, allocations: 40.16 kB / 0.6563 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.9901, allocations: 7.75 kB / 0.6563 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/0.9902, allocations: 14.06 kB / 0.6563 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03019/1.02, allocations: 11.95 MB / 0.668 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/1.02, allocations: 11.72 kB / 0.668 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/1.024, allocations: 0.4935 MB / 0.6685 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006166/1.03, allocations: 0.8024 MB / 0.6692 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005673/1.031, allocations: 70.34 kB / 0.6693 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.041, allocations: 4.181 MB / 0.6734 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/1.041, allocations: 15.94 kB / 0.6734 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.057, allocations: 5.055 MB / 0.6783 GB, free: 98.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.059, allocations: 0.4909 MB / 0.6788 GB, free: 98.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/1.06, allocations: 63.75 kB / 0.6789 GB, free: 97.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.063, allocations: 176.4 kB / 0.6791 GB, free: 97.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000672/1.064, allocations: 237.7 kB / 0.6793 GB, free: 97.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/1.064, allocations: 103.8 kB / 0.6794 GB, free: 97.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006227/1.07, allocations: 2.621 MB / 0.6819 GB, free: 95.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.07, allocations: 8.031 kB / 0.6819 GB, free: 95.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01241/1.083, allocations: 1.748 MB / 0.6837 GB, free: 93.68 MB / 474.7 MB 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.001156/1.084, allocations: 287.1 kB / 0.6839 GB, free: 93.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/1.096, allocations: 5.575 MB / 0.6894 GB, free: 88.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/1.096, allocations: 0 / 0.6894 GB, free: 88.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003291/1.099, allocations: 1.621 MB / 0.691 GB, free: 86.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/1.104, allocations: 0.6254 MB / 0.6916 GB, free: 86.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/1.127, allocations: 13.22 MB / 0.7045 GB, free: 73.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004695/1.132, allocations: 4.233 MB / 0.7086 GB, free: 69.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005621/1.137, allocations: 2.478 MB / 0.711 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.138, allocations: 376.4 kB / 0.7114 GB, free: 66.37 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/1.138, allocations: 0 / 0.7114 GB, free: 66.37 MB / 474.7 MB Notification: Performance of Templates: time 0.09801/1.236, allocations: 50.98 MB / 0.7612 GB, free: 16.23 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.814941224060021]