Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001006/0.001006, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.000993/0.000993, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8879/0.8879, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.539e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.1436/0.1436, allocations: 15.44 MB / 314.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1542, allocations: 5.388 MB / 319.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.1572, allocations: 116.6 kB / 320 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004867/0.1621, allocations: 4.407 MB / 324.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.1691, allocations: 2.939 MB / 327.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.1713, allocations: 1.419 MB / 328.8 MB, free: 432 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008285/0.1796, allocations: 8.419 MB / 337.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006133/0.1858, allocations: 5.475 MB / 342.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007295/0.193, allocations: 4.425 MB / 347.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006378/0.1994, allocations: 4.1 MB / 351.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002289/0.2017, allocations: 0.6016 MB / 351.8 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.2055, allocations: 1.795 MB / 353.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003476/0.209, allocations: 3.588 MB / 357.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004255/0.2132, allocations: 2.235 MB / 359.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009415/0.2226, allocations: 8.006 MB / 367.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2226, allocations: 0 / 367.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2226, allocations: 0 / 367.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003664/0.223, allocations: 0 / 367.4 MB, free: 9.602 MB / 330.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.01164/0.2346, allocations: 7.42 MB / 374.9 MB, free: 2.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2347, allocations: 8.031 kB / 374.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.241, allocations: 2.186 MB / 377.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.2455, allocations: 3.109 MB / 380.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004765/0.246, allocations: 390.4 kB / 380.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009331/0.247, allocations: 0.5545 MB / 381.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.2605, allocations: 8.697 MB / 389.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.2607, allocations: 55.52 kB / 389.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000484/0.2612, allocations: 252.5 kB / 390.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.2638, allocations: 3.081 MB / 393.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.2744, allocations: 4.864 MB / 398 MB, free: 9.777 MB / 362.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.05133/0.3257, allocations: 50.59 MB / 448.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006988/0.3327, allocations: 2.926 MB / 451.6 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3344, allocations: 0.6911 MB / 452.3 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.3462, allocations: 7.031 MB / 459.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.3463, allocations: 68.55 kB / 459.4 MB, free: 10.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 4.919e-06/0.3463, allocations: 0 / 459.4 MB, free: 10.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.2688/0.615, allocations: 10.77 MB / 470.1 MB, free: 135.1 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.6151, allocations: 191.8 kB / 470.3 MB, free: 134.9 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006209/0.6213, allocations: 4.601 MB / 474.9 MB, free: 134.6 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000582/0.6219, allocations: 74.36 kB / 475 MB, free: 134.5 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.6239, allocations: 4.844 MB / 479.8 MB, free: 132.2 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001449/0.6254, allocations: 1.345 MB / 481.2 MB, free: 131.5 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00224/0.6276, allocations: 1.797 MB / 483 MB, free: 131.3 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.6277, allocations: 302.5 kB / 483.3 MB, free: 131 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.6302, allocations: 1.287 MB / 484.6 MB, free: 130.9 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/0.634, allocations: 6.626 MB / 491.2 MB, free: 123.8 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006787/0.6408, allocations: 8.716 MB / 499.9 MB, free: 116 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001859/0.641, allocations: 57.62 kB / 499.9 MB, free: 116 MB / 426.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.0107/0.6517, allocations: 6.91 MB / 0.495 GB, free: 114 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/0.6518, allocations: 90.75 kB / 0.4951 GB, free: 114 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/0.652, allocations: 192 kB / 0.4953 GB, free: 114 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.6542, allocations: 0.969 MB / 0.4962 GB, free: 113.9 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/0.6587, allocations: 2.217 MB / 0.4984 GB, free: 112.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.6627, allocations: 3.611 MB / 0.5019 GB, free: 109.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/0.668, allocations: 403.5 kB / 0.5023 GB, free: 109.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.6692, allocations: 486.7 kB / 0.5027 GB, free: 108.8 MB / 426.8 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 (1184): * Single equations (assignments): 1177 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002711/0.6719, allocations: 0.8768 MB / 0.5036 GB, free: 107.9 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009036/0.6728, allocations: 361 kB / 0.5039 GB, free: 107.6 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.6761, allocations: 2.298 MB / 0.5062 GB, free: 105.7 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.6761, allocations: 40 kB / 0.5062 GB, free: 105.6 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.6761, allocations: 8 kB / 0.5062 GB, free: 105.6 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.6762, allocations: 15.94 kB / 0.5062 GB, free: 105.6 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.6877, allocations: 8.295 MB / 0.5143 GB, free: 97.02 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.6877, allocations: 12 kB / 0.5144 GB, free: 97 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.6889, allocations: 0.511 MB / 0.5149 GB, free: 96.49 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.6907, allocations: 0.8441 MB / 0.5157 GB, free: 95.65 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.6908, allocations: 67.98 kB / 0.5157 GB, free: 95.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.6934, allocations: 2.483 MB / 0.5182 GB, free: 93.01 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6934, allocations: 19.94 kB / 0.5182 GB, free: 92.99 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.6976, allocations: 3.606 MB / 0.5217 GB, free: 89 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.6991, allocations: 0.6954 MB / 0.5224 GB, free: 88.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006607/0.6998, allocations: 71.3 kB / 0.5225 GB, free: 88.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.7009, allocations: 75.98 kB / 0.5225 GB, free: 88.16 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.7012, allocations: 241.2 kB / 0.5228 GB, free: 87.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.7013, allocations: 87.98 kB / 0.5228 GB, free: 87.84 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001606/0.7029, allocations: 1.709 MB / 0.5245 GB, free: 86.14 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7029, allocations: 0 / 0.5245 GB, free: 86.14 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005588/0.7085, allocations: 1.797 MB / 0.5263 GB, free: 84.35 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (279): * Single equations (assignments): 272 * 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,27,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006134/0.7091, allocations: 296.7 kB / 0.5265 GB, free: 84.05 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005513/0.7146, allocations: 4.204 MB / 0.5307 GB, free: 79.86 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002577/0.7149, allocations: 120.2 kB / 0.5308 GB, free: 79.73 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.7162, allocations: 1.119 MB / 0.5319 GB, free: 78.6 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/0.7193, allocations: 0.6538 MB / 0.5325 GB, free: 77.98 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.7352, allocations: 13.21 MB / 0.5454 GB, free: 64.46 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.737, allocations: 2.122 MB / 0.5475 GB, free: 62.3 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002271/0.7393, allocations: 0.7806 MB / 0.5482 GB, free: 61.52 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/0.7406, allocations: 0.837 MB / 0.5491 GB, free: 60.68 MB / 426.8 MB Notification: Performance of SimCode: time 1.653e-06/0.7406, allocations: 0 / 0.5491 GB, free: 60.68 MB / 426.8 MB Notification: Performance of Templates: time 0.07347/0.8141, allocations: 57.57 MB / 0.6053 GB, free: 3.176 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.969859686680138]