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.00105/0.00105, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001286/0.001286, allocations: 173.3 kB / 24.91 MB, free: 9.191 MB / 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 0.9773/0.9773, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2747/0.2747, allocations: 34.26 MB / 296.1 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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.563e-06/1.563e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.718e-05, allocations: 2.312 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01413/0.01415, allocations: 15.28 MB / 340.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.02532, allocations: 5.422 MB / 345.9 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/0.02826, allocations: 115.4 kB / 346 MB, free: 2.797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006256/0.03451, allocations: 4.465 MB / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006444/0.04096, allocations: 2.912 MB / 353.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.04362, allocations: 1.427 MB / 354.8 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009509/0.05313, allocations: 8.785 MB / 363.6 MB, free: 1.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006849/0.05998, allocations: 5.789 MB / 369.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007652/0.06763, allocations: 4.655 MB / 374.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/0.0729, allocations: 4.072 MB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001556/0.07446, allocations: 0.6016 MB / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.07709, allocations: 1.732 MB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00273/0.07982, allocations: 3.538 MB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002807/0.08263, allocations: 2.208 MB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008105/0.09073, allocations: 7.909 MB / 394.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.09074, allocations: 0 / 394.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09074, allocations: 0 / 394.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002909/0.09103, allocations: 0 / 394.1 MB, free: 2.488 MB / 362.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.00964/0.1007, allocations: 7.378 MB / 401.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1007, allocations: 8.031 kB / 401.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/0.106, allocations: 2.19 MB / 403.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.11, allocations: 3.039 MB / 406.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.1102, allocations: 394.4 kB / 407.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000728/0.1109, allocations: 0.5505 MB / 407.7 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.1233, allocations: 8.689 MB / 416.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.1234, allocations: 75.38 kB / 416.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004759/0.1239, allocations: 243.8 kB / 416.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002795/0.1267, allocations: 3.085 MB / 419.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.139, allocations: 4.863 MB / 424.6 MB, free: 2.742 MB / 394.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.2092/0.3482, allocations: 50.57 MB / 475.2 MB, free: 70.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006336/0.3545, allocations: 2.928 MB / 478.1 MB, free: 70.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3557, allocations: 0.6872 MB / 478.8 MB, free: 69.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.3666, allocations: 7.024 MB / 485.8 MB, free: 69.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.3667, allocations: 62.12 kB / 485.9 MB, free: 69.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 5.801e-06/0.3667, allocations: 3.844 kB / 485.9 MB, free: 69.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.02631/0.393, allocations: 10.73 MB / 496.6 MB, free: 61.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.3931, allocations: 187.9 kB / 496.8 MB, free: 61.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004399/0.3975, allocations: 4.565 MB / 0.4896 GB, free: 57.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004524/0.3979, allocations: 73.69 kB / 0.4897 GB, free: 57.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.3996, allocations: 4.838 MB / 0.4944 GB, free: 53.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008373/0.4004, allocations: 1.346 MB / 0.4957 GB, free: 51.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.4017, allocations: 1.8 MB / 0.4975 GB, free: 49.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.4017, allocations: 301.1 kB / 0.4978 GB, free: 49.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.4036, allocations: 1.292 MB / 0.499 GB, free: 48.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/0.4065, allocations: 6.617 MB / 0.5055 GB, free: 39.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005666/0.4122, allocations: 8.718 MB / 0.514 GB, free: 27.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/0.4123, allocations: 60 kB / 0.5141 GB, free: 27.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.009845/0.4222, allocations: 6.915 MB / 0.5208 GB, free: 20.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.4222, allocations: 88 kB / 0.5209 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.4224, allocations: 200 kB / 0.5211 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.4244, allocations: 0.9707 MB / 0.5221 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.4282, allocations: 2.109 MB / 0.5241 GB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.4322, allocations: 3.593 MB / 0.5276 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/0.437, allocations: 407.7 kB / 0.528 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007505/0.4378, allocations: 484 kB / 0.5285 GB, free: 13 MB / 410.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 (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.002279/0.44, allocations: 0.8852 MB / 0.5293 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007172/0.4408, allocations: 359.6 kB / 0.5297 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.4439, allocations: 2.29 MB / 0.5319 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/0.4439, allocations: 39.98 kB / 0.532 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4439, allocations: 12 kB / 0.532 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4439, allocations: 15.94 kB / 0.532 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.4569, allocations: 8.259 MB / 0.54 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.457, allocations: 15.84 kB / 0.5401 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.4584, allocations: 471.3 kB / 0.5405 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/0.4609, allocations: 0.8422 MB / 0.5413 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/0.4612, allocations: 71.98 kB / 0.5414 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.465, allocations: 2.473 MB / 0.5438 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.465, allocations: 23.88 kB / 0.5438 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006304/0.4713, allocations: 3.603 MB / 0.5474 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.4727, allocations: 488.1 kB / 0.5478 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005393/0.4733, allocations: 75.98 kB / 0.5479 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.4746, allocations: 71.92 kB / 0.548 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/0.475, allocations: 245.2 kB / 0.5482 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.4752, allocations: 83.98 kB / 0.5483 GB, free: 7.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002317/0.4775, allocations: 1.676 MB / 0.5499 GB, free: 6.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4775, allocations: 0 / 0.5499 GB, free: 6.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007697/0.4852, allocations: 1.765 MB / 0.5516 GB, free: 4.434 MB / 426.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 (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.000772/0.486, allocations: 271.5 kB / 0.5519 GB, free: 4.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007456/0.4935, allocations: 4.213 MB / 0.556 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003403/0.4938, allocations: 127.8 kB / 0.5561 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.4958, allocations: 1.121 MB / 0.5572 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.4985, allocations: 0.6379 MB / 0.5579 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.5183, allocations: 13.17 MB / 0.5707 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.5207, allocations: 2.125 MB / 0.5728 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002661/0.5234, allocations: 0.7705 MB / 0.5735 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.5251, allocations: 0.837 MB / 0.5744 GB, free: 12.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.784e-06/0.5252, allocations: 0 / 0.5744 GB, free: 12.82 MB / 458.7 MB Notification: Performance of Templates: time 0.2337/0.7589, allocations: 56.64 MB / 0.6297 GB, free: 143.4 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","",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.89809037419036]