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.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.001421/0.001421, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001546/0.001546, allocations: 165.3 kB / 24.27 MB, free: 144 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.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3413/0.3413, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.732e-05, allocations: 2.312 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0196/0.01963, allocations: 14.14 MB / 389.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.03223, allocations: 5.126 MB / 394.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.03471, allocations: 115.4 kB / 394.6 MB, free: 1.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009375/0.04408, allocations: 4.329 MB / 398.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.05267, allocations: 2.9 MB / 401.8 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.05647, allocations: 1.423 MB / 403.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01355/0.07003, allocations: 8.781 MB / 412.1 MB, free: 36 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009158/0.07918, allocations: 5.651 MB / 417.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009181/0.08836, allocations: 4.136 MB / 421.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009291/0.09766, allocations: 4.232 MB / 426.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.0995, allocations: 0.6094 MB / 426.7 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.1034, allocations: 1.748 MB / 428.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004756/0.1082, allocations: 3.526 MB / 432 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.1122, allocations: 2.216 MB / 434.2 MB, free: 9.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2109/0.3232, allocations: 12.55 MB / 446.7 MB, free: 66.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3232, allocations: 0 / 446.7 MB, free: 66.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3232, allocations: 0 / 446.7 MB, free: 66.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004821/0.3236, allocations: 0 / 446.7 MB, free: 66.62 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.02159/0.3452, allocations: 8.086 MB / 454.8 MB, free: 63.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.3453, allocations: 9.375 kB / 454.8 MB, free: 63.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/0.3633, allocations: 5.143 MB / 460 MB, free: 63.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.3734, allocations: 4.19 MB / 464.2 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004177/0.3738, allocations: 389.5 kB / 464.5 MB, free: 62.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.3772, allocations: 0.5603 MB / 465.1 MB, free: 62.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04147/0.4187, allocations: 19.03 MB / 484.1 MB, free: 55.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003269/0.419, allocations: 73.27 kB / 484.2 MB, free: 55.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001522/0.4205, allocations: 250.6 kB / 484.4 MB, free: 55.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006473/0.427, allocations: 3.434 MB / 487.9 MB, free: 54.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/0.4598, allocations: 16.71 MB / 0.4928 GB, free: 50.2 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.08657/0.5464, allocations: 62.72 MB / 0.554 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/0.5641, allocations: 5.393 MB / 0.5593 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005498/0.5696, allocations: 2.716 MB / 0.5619 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0279/0.5975, allocations: 11.11 MB / 0.5728 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/0.5975, allocations: 64.41 kB / 0.5728 GB, free: 1.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=288): time 6.513e-06/0.5975, allocations: 0 / 0.5728 GB, free: 1.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=355): time 0.1052/0.7027, allocations: 27.57 MB / 0.5998 GB, free: 6.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/0.7029, allocations: 190.2 kB / 0.5999 GB, free: 6.008 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009875/0.7128, allocations: 5.815 MB / 0.6056 GB, free: 208 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007524/0.7136, allocations: 69.7 kB / 0.6057 GB, free: 132 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1891/0.9027, allocations: 5.11 MB / 0.6107 GB, free: 127.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002244/0.9049, allocations: 1.356 MB / 0.612 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002638/0.9076, allocations: 1.886 MB / 0.6138 GB, free: 126.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.9076, allocations: 310 kB / 0.6141 GB, free: 126.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00454/0.9121, allocations: 3.495 MB / 0.6175 GB, free: 125.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006543/0.9187, allocations: 8.997 MB / 0.6263 GB, free: 117.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.931, allocations: 13.41 MB / 0.6394 GB, free: 107.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001767/0.9312, allocations: 54.97 kB / 0.6395 GB, free: 107.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1264) (initialization): time 0.02717/0.9584, allocations: 13.77 MB / 0.6529 GB, free: 102.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.9585, allocations: 89.31 kB / 0.653 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003552/0.9589, allocations: 191 kB / 0.6532 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005802/0.9647, allocations: 1.672 MB / 0.6548 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007112/0.9718, allocations: 2.221 MB / 0.657 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.9837, allocations: 8.133 MB / 0.665 GB, free: 98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007755/0.9915, allocations: 0.6208 MB / 0.6656 GB, free: 97.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/0.993, allocations: 0.5506 MB / 0.6661 GB, free: 97.76 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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 (1178): * Single equations (assignments): 1171 * 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.005727/0.9987, allocations: 3.454 MB / 0.6695 GB, free: 96.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1, allocations: 0.6009 MB / 0.6701 GB, free: 95.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.011, allocations: 5.721 MB / 0.6756 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.133e-05/1.011, allocations: 38.17 kB / 0.6757 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.011, allocations: 6.688 kB / 0.6757 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/1.011, allocations: 16.44 kB / 0.6757 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/1.034, allocations: 12.78 MB / 0.6882 GB, free: 83.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/1.034, allocations: 12 kB / 0.6882 GB, free: 83.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.036, allocations: 0.5301 MB / 0.6887 GB, free: 82.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004121/1.04, allocations: 0.9732 MB / 0.6897 GB, free: 82.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/1.041, allocations: 78.23 kB / 0.6897 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007577/1.048, allocations: 5.368 MB / 0.695 GB, free: 77.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.048, allocations: 27.81 kB / 0.695 GB, free: 77.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.06, allocations: 8.584 MB / 0.7034 GB, free: 69.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.062, allocations: 0.5105 MB / 0.7039 GB, free: 68.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/1.063, allocations: 69.06 kB / 0.7039 GB, free: 68.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/1.065, allocations: 219.2 kB / 0.7042 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/1.065, allocations: 250.2 kB / 0.7044 GB, free: 68.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.065, allocations: 110.4 kB / 0.7045 GB, free: 68.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004394/1.07, allocations: 3.386 MB / 0.7078 GB, free: 65.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/1.07, allocations: 0 / 0.7078 GB, free: 65.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009652/1.08, allocations: 1.749 MB / 0.7095 GB, free: 63.52 MB / 474.7 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 (281): * Single equations (assignments): 274 * 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,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007267/1.08, allocations: 306 kB / 0.7098 GB, free: 63.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.091, allocations: 7.762 MB / 0.7174 GB, free: 55.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/1.091, allocations: 4.25 kB / 0.7174 GB, free: 55.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003162/1.094, allocations: 2.274 MB / 0.7196 GB, free: 53.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/1.098, allocations: 0.639 MB / 0.7202 GB, free: 52.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.122, allocations: 15.82 MB / 0.7357 GB, free: 36.47 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005608/1.128, allocations: 4.689 MB / 0.7403 GB, free: 31.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006123/1.134, allocations: 2.93 MB / 0.7431 GB, free: 28.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.135, allocations: 372.4 kB / 0.7435 GB, free: 28.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/1.135, allocations: 0 / 0.7435 GB, free: 28.44 MB / 474.7 MB Notification: Performance of Templates: time 0.2677/1.403, allocations: 51.91 MB / 0.7942 GB, free: 142.2 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.430501086986624]