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.001092/0.001092, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001198/0.001198, allocations: 168.6 kB / 25.61 MB, free: 8.875 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 1.006/1.006, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1376/0.1376, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.853e-06/1.853e-06, allocations: 0 / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.706e-05, allocations: 5.266 kB / 377.2 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01126/0.01128, allocations: 15.26 MB / 392.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007598/0.01888, allocations: 5.199 MB / 397.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.02022, allocations: 115.5 kB / 397.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.02359, allocations: 4.403 MB / 402.2 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.02693, allocations: 2.9 MB / 405.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.02861, allocations: 1.435 MB / 406.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005986/0.0346, allocations: 8.802 MB / 415.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.03897, allocations: 5.659 MB / 421 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.0444, allocations: 4.678 MB / 425.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004564/0.04896, allocations: 4.26 MB / 430 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000787/0.04975, allocations: 0.5977 MB / 430.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.05232, allocations: 1.74 MB / 432.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002578/0.05489, allocations: 3.534 MB / 435.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00367/0.05856, allocations: 2.2 MB / 438 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007697/0.06626, allocations: 7.917 MB / 446 MB, free: 4.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.06626, allocations: 3.938 kB / 446 MB, free: 4.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06626, allocations: 0 / 446 MB, free: 4.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.757e-05/0.06634, allocations: 0 / 446 MB, free: 4.605 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.01027/0.07661, allocations: 8.26 MB / 454.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.07665, allocations: 15.98 kB / 454.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009472/0.08612, allocations: 3.063 MB / 457.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.09048, allocations: 3.298 MB / 460.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.09074, allocations: 394.4 kB / 461 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008851/0.09163, allocations: 0.5543 MB / 461.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.1061, allocations: 9.776 MB / 471.3 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.1062, allocations: 71.38 kB / 471.4 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000428/0.1066, allocations: 247.8 kB / 471.6 MB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002588/0.1092, allocations: 3.089 MB / 474.7 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.1194, allocations: 5.068 MB / 479.8 MB, free: 1.172 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.2178/0.3372, allocations: 69.22 MB / 0.5361 GB, free: 53.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007197/0.3444, allocations: 3.08 MB / 0.5391 GB, free: 52.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3456, allocations: 0.8464 MB / 0.54 GB, free: 52.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009617/0.3552, allocations: 7.404 MB / 0.5472 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3552, allocations: 64.86 kB / 0.5473 GB, free: 50.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 4.108e-06/0.3552, allocations: 0 / 0.5473 GB, free: 50.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.03094/0.3862, allocations: 12.27 MB / 0.5592 GB, free: 39.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3862, allocations: 192 kB / 0.5594 GB, free: 39.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.391, allocations: 5.054 MB / 0.5644 GB, free: 34.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004411/0.3915, allocations: 73.7 kB / 0.5644 GB, free: 34.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.3933, allocations: 5.403 MB / 0.5697 GB, free: 29.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.3946, allocations: 1.399 MB / 0.5711 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.3963, allocations: 2.078 MB / 0.5731 GB, free: 25.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.3964, allocations: 480.7 kB / 0.5736 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.3981, allocations: 1.056 MB / 0.5746 GB, free: 24.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/0.4015, allocations: 9.269 MB / 0.5836 GB, free: 11.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007266/0.4088, allocations: 11.23 MB / 0.5946 GB, free: 12.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001819/0.409, allocations: 56 kB / 0.5947 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01403/0.423, allocations: 8.111 MB / 0.6026 GB, free: 4.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4231, allocations: 89 kB / 0.6027 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/0.4233, allocations: 192 kB / 0.6028 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/0.4259, allocations: 0.9814 MB / 0.6038 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005028/0.431, allocations: 2.109 MB / 0.6059 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00528/0.4363, allocations: 4.317 MB / 0.6101 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005114/0.4414, allocations: 399.7 kB / 0.6105 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/0.4427, allocations: 492 kB / 0.6109 GB, free: 11.82 MB / 442.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.002621/0.4453, allocations: 0.9207 MB / 0.6118 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.4464, allocations: 0.606 MB / 0.6124 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.4509, allocations: 2.639 MB / 0.615 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/0.4509, allocations: 43.98 kB / 0.615 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.4509, allocations: 4 kB / 0.615 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.4509, allocations: 15.95 kB / 0.6151 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.4681, allocations: 9.731 MB / 0.6246 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.4681, allocations: 12 kB / 0.6246 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.4694, allocations: 475.2 kB / 0.625 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.4715, allocations: 0.6199 MB / 0.6256 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/0.4717, allocations: 71.98 kB / 0.6257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.4754, allocations: 3.129 MB / 0.6288 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.4754, allocations: 19.94 kB / 0.6288 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.4818, allocations: 4.227 MB / 0.6329 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.4831, allocations: 0.4886 MB / 0.6334 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/0.4837, allocations: 64 kB / 0.6334 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.4848, allocations: 76.02 kB / 0.6335 GB, free: 3.766 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/0.4852, allocations: 253.1 kB / 0.6338 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.4853, allocations: 91.97 kB / 0.6338 GB, free: 3.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002394/0.4877, allocations: 1.998 MB / 0.6358 GB, free: 1.445 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4877, allocations: 4 kB / 0.6358 GB, free: 1.441 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006741/0.4945, allocations: 1.754 MB / 0.6375 GB, free: 15.68 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 (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.0008667/0.4953, allocations: 290.3 kB / 0.6378 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007886/0.5032, allocations: 4.642 MB / 0.6423 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.5032, allocations: 0 / 0.6423 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.5051, allocations: 1.308 MB / 0.6436 GB, free: 9.434 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.5081, allocations: 0.627 MB / 0.6442 GB, free: 8.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.5272, allocations: 13.02 MB / 0.6569 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.5294, allocations: 2.129 MB / 0.659 GB, free: 9.258 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002565/0.532, allocations: 0.7861 MB / 0.6598 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/0.5337, allocations: 0.8925 MB / 0.6606 GB, free: 7.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5337, allocations: 0 / 0.6606 GB, free: 7.57 MB / 490.7 MB Notification: Performance of Templates: time 0.2312/0.765, allocations: 58.09 MB / 0.7174 GB, free: 135 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.46239248663187]