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: 80.92 kB / 21.49 MB, free: 2.996 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.001216/0.001216, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.9893/0.9893, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2553/0.2553, allocations: 32.81 MB / 294.6 MB, free: 1.184 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 2.073e-06/2.073e-06, allocations: 0 / 323.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.342e-05, allocations: 2.969 kB / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01767/0.0177, allocations: 15.31 MB / 338.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.03118, allocations: 5.422 MB / 344 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003557/0.03473, allocations: 115.4 kB / 344.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006337/0.04107, allocations: 4.391 MB / 348.5 MB, free: 364 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.04694, allocations: 2.881 MB / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.04895, allocations: 1.419 MB / 352.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006981/0.05593, allocations: 8.79 MB / 361.6 MB, free: 3.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00474/0.06067, allocations: 5.468 MB / 367.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/0.06578, allocations: 4.573 MB / 371.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005391/0.07117, allocations: 4.076 MB / 375.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.07245, allocations: 0.6016 MB / 376.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.07521, allocations: 1.787 MB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005544/0.08076, allocations: 3.534 MB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005266/0.08602, allocations: 2.204 MB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.09927, allocations: 7.917 MB / 391.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09927, allocations: 0 / 391.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09927, allocations: 0 / 391.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.887e-05/0.09934, allocations: 0 / 391.8 MB, free: 4.906 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.01756/0.1169, allocations: 7.367 MB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1169, allocations: 12.03 kB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.1302, allocations: 2.201 MB / 401.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.1404, allocations: 3.035 MB / 404.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.1407, allocations: 390.4 kB / 404.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007205/0.1414, allocations: 0.5544 MB / 405.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009083/0.1505, allocations: 8.689 MB / 414 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.1506, allocations: 71.38 kB / 414.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.151, allocations: 247.8 kB / 414.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/0.1535, allocations: 3.081 MB / 417.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008095/0.1616, allocations: 4.876 MB / 422.3 MB, free: 5.152 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.3046/0.4662, allocations: 50.56 MB / 472.8 MB, free: 72.31 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006809/0.473, allocations: 2.921 MB / 475.7 MB, free: 72.07 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4742, allocations: 0.6914 MB / 476.4 MB, free: 72.03 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.4853, allocations: 7.017 MB / 483.4 MB, free: 71.12 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.4854, allocations: 70 kB / 483.5 MB, free: 71.08 MB / 410.8 MB Notification: Performance of pre-optimization done (n=286): time 7.093e-06/0.4854, allocations: 0 / 483.5 MB, free: 71.08 MB / 410.8 MB Notification: Performance of matching and sorting (n=352): time 0.02432/0.5097, allocations: 10.73 MB / 494.2 MB, free: 63.93 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.5098, allocations: 188.4 kB / 494.4 MB, free: 63.71 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004048/0.5138, allocations: 4.561 MB / 499 MB, free: 59.92 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004999/0.5143, allocations: 81.58 kB / 499.1 MB, free: 59.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.5158, allocations: 4.843 MB / 0.4921 GB, free: 55.08 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.5169, allocations: 1.345 MB / 0.4934 GB, free: 53.72 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.5183, allocations: 1.792 MB / 0.4952 GB, free: 51.92 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.5183, allocations: 305.1 kB / 0.4955 GB, free: 51.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.5201, allocations: 1.29 MB / 0.4967 GB, free: 50.32 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/0.5232, allocations: 6.62 MB / 0.5032 GB, free: 41.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005749/0.5289, allocations: 8.723 MB / 0.5117 GB, free: 29.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.529, allocations: 56 kB / 0.5118 GB, free: 29.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01033/0.5394, allocations: 6.905 MB / 0.5185 GB, free: 22.96 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.5394, allocations: 89.56 kB / 0.5186 GB, free: 22.88 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.5396, allocations: 192 kB / 0.5188 GB, free: 22.69 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.5418, allocations: 0.9821 MB / 0.5197 GB, free: 21.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/0.5464, allocations: 2.207 MB / 0.5219 GB, free: 19.51 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.5512, allocations: 3.618 MB / 0.5254 GB, free: 15.79 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/0.5564, allocations: 399.7 kB / 0.5258 GB, free: 15.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.5575, allocations: 492 kB / 0.5263 GB, free: 14.92 MB / 410.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.002316/0.5598, allocations: 0.882 MB / 0.5271 GB, free: 14.03 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007299/0.5605, allocations: 363.6 kB / 0.5275 GB, free: 13.67 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.5639, allocations: 2.278 MB / 0.5297 GB, free: 11.35 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.5639, allocations: 40 kB / 0.5297 GB, free: 11.31 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5639, allocations: 4 kB / 0.5297 GB, free: 11.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.5639, allocations: 21.8 kB / 0.5298 GB, free: 11.29 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.5761, allocations: 8.265 MB / 0.5378 GB, free: 2.699 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.5761, allocations: 16 kB / 0.5378 GB, free: 2.684 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.5774, allocations: 0.5077 MB / 0.5383 GB, free: 2.176 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.5795, allocations: 0.8519 MB / 0.5392 GB, free: 1.324 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.5798, allocations: 67.98 kB / 0.5392 GB, free: 1.258 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/0.5828, allocations: 2.463 MB / 0.5416 GB, free: 14.7 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/0.5828, allocations: 27.88 kB / 0.5417 GB, free: 14.67 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00517/0.588, allocations: 3.614 MB / 0.5452 GB, free: 10.66 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.5893, allocations: 477.2 kB / 0.5457 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/0.5898, allocations: 71.97 kB / 0.5457 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5909, allocations: 75.98 kB / 0.5458 GB, free: 10.05 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/0.5912, allocations: 241.2 kB / 0.546 GB, free: 9.816 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.5914, allocations: 91.42 kB / 0.5461 GB, free: 9.73 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001915/0.5933, allocations: 1.68 MB / 0.5478 GB, free: 8.062 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5933, allocations: 4.031 kB / 0.5478 GB, free: 8.059 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006911/0.6002, allocations: 1.756 MB / 0.5495 GB, free: 6.305 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.001061/0.6012, allocations: 279.4 kB / 0.5497 GB, free: 6.023 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006541/0.6078, allocations: 4.213 MB / 0.5539 GB, free: 1.809 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003184/0.6081, allocations: 120.2 kB / 0.554 GB, free: 1.68 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.6098, allocations: 1.121 MB / 0.5551 GB, free: 0.5469 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.6132, allocations: 0.6318 MB / 0.5557 GB, free: 15.93 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.6349, allocations: 13.17 MB / 0.5685 GB, free: 2.457 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/0.6383, allocations: 2.117 MB / 0.5706 GB, free: 312 kB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002766/0.641, allocations: 0.7783 MB / 0.5714 GB, free: 15.52 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/0.6427, allocations: 0.8409 MB / 0.5722 GB, free: 14.68 MB / 458.8 MB Notification: Performance of SimCode: time 2.585e-06/0.6427, allocations: 4 kB / 0.5722 GB, free: 14.68 MB / 458.8 MB Notification: Performance of Templates: time 0.225/0.8676, allocations: 56.65 MB / 0.6275 GB, free: 146.8 MB / 474.8 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 -s gbode -gbm=radauIIA3 -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.083047627005726]