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.001501/0.001501, allocations: 80.8 kB / 21.49 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.001178/0.001178, allocations: 169.9 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.9843/0.9843, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2614/0.2614, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.633e-06/1.633e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.148e-05, allocations: 2.969 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0122/0.01223, allocations: 15.27 MB / 338.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009278/0.02151, allocations: 5.419 MB / 343.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.02333, allocations: 119.4 kB / 344 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.02741, allocations: 4.465 MB / 348.5 MB, free: 312 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.03152, allocations: 2.908 MB / 351.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.03332, allocations: 1.423 MB / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007345/0.04067, allocations: 8.793 MB / 361.6 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005219/0.04589, allocations: 5.796 MB / 367.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.05231, allocations: 4.666 MB / 372.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007935/0.06024, allocations: 4.072 MB / 376.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003357/0.0636, allocations: 0.5977 MB / 376.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007114/0.07071, allocations: 1.728 MB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007103/0.07782, allocations: 3.538 MB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00838/0.0862, allocations: 2.204 MB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.102, allocations: 7.913 MB / 392.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.102, allocations: 3.984 kB / 392.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.102, allocations: 0 / 392.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003927/0.1024, allocations: 0 / 392.1 MB, free: 4.465 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.0143/0.1167, allocations: 7.374 MB / 399.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1167, allocations: 8.031 kB / 399.5 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.1226, allocations: 2.193 MB / 401.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/0.1279, allocations: 3.031 MB / 404.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.1282, allocations: 390.4 kB / 405.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.1296, allocations: 0.5582 MB / 405.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.145, allocations: 8.697 MB / 414.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/0.1452, allocations: 59.47 kB / 414.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006777/0.1459, allocations: 251.7 kB / 414.7 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003153/0.1491, allocations: 3.085 MB / 417.8 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.1614, allocations: 4.867 MB / 422.6 MB, free: 4.719 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.3557/0.5171, allocations: 50.56 MB / 473.2 MB, free: 72.3 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/0.5253, allocations: 2.928 MB / 476.1 MB, free: 72.06 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.5267, allocations: 0.6897 MB / 476.8 MB, free: 72.02 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.5372, allocations: 7.015 MB / 483.8 MB, free: 71.1 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.5372, allocations: 63.03 kB / 483.9 MB, free: 71.06 MB / 410.8 MB Notification: Performance of pre-optimization done (n=286): time 6.883e-06/0.5372, allocations: 0 / 483.9 MB, free: 71.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=352): time 0.02405/0.5613, allocations: 10.74 MB / 494.6 MB, free: 63.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.5614, allocations: 188 kB / 494.8 MB, free: 63.62 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.5657, allocations: 4.553 MB / 499.4 MB, free: 59.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005533/0.5662, allocations: 81.69 kB / 499.4 MB, free: 59.79 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.5678, allocations: 4.841 MB / 0.4925 GB, free: 55.02 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.5689, allocations: 1.345 MB / 0.4938 GB, free: 53.67 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.5704, allocations: 1.8 MB / 0.4955 GB, free: 51.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.5704, allocations: 301.1 kB / 0.4958 GB, free: 51.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.5724, allocations: 1.286 MB / 0.4971 GB, free: 50.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/0.5757, allocations: 6.621 MB / 0.5035 GB, free: 41.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/0.5814, allocations: 8.719 MB / 0.5121 GB, free: 29.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/0.5816, allocations: 56 kB / 0.5121 GB, free: 29.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01151/0.5931, allocations: 6.913 MB / 0.5189 GB, free: 22.95 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.5932, allocations: 93.97 kB / 0.5189 GB, free: 22.86 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.5934, allocations: 192 kB / 0.5191 GB, free: 22.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.5962, allocations: 0.9753 MB / 0.5201 GB, free: 21.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005556/0.6018, allocations: 2.105 MB / 0.5221 GB, free: 19.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.607, allocations: 3.61 MB / 0.5257 GB, free: 15.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008068/0.615, allocations: 403.7 kB / 0.526 GB, free: 15.49 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/0.6171, allocations: 484 kB / 0.5265 GB, free: 15.02 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.003393/0.6205, allocations: 0.8814 MB / 0.5274 GB, free: 14.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.6216, allocations: 359.6 kB / 0.5277 GB, free: 13.77 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.626, allocations: 2.282 MB / 0.5299 GB, free: 11.44 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/0.626, allocations: 43.94 kB / 0.53 GB, free: 11.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.626, allocations: 4 kB / 0.53 GB, free: 11.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.6261, allocations: 23.88 kB / 0.53 GB, free: 11.37 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.6404, allocations: 8.257 MB / 0.5381 GB, free: 2.797 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.6404, allocations: 16.22 kB / 0.5381 GB, free: 2.781 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6415, allocations: 471.3 kB / 0.5385 GB, free: 2.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/0.6434, allocations: 0.8501 MB / 0.5394 GB, free: 1.473 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.6437, allocations: 71.97 kB / 0.5394 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.6464, allocations: 2.466 MB / 0.5418 GB, free: 14.84 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.6464, allocations: 23.97 kB / 0.5419 GB, free: 14.82 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/0.6515, allocations: 3.606 MB / 0.5454 GB, free: 10.82 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.6528, allocations: 484.4 kB / 0.5459 GB, free: 10.34 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005621/0.6534, allocations: 75.92 kB / 0.5459 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6544, allocations: 75.97 kB / 0.546 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.6547, allocations: 237.2 kB / 0.5462 GB, free: 9.965 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6549, allocations: 87.98 kB / 0.5463 GB, free: 9.879 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002034/0.6569, allocations: 1.68 MB / 0.5479 GB, free: 8.211 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6569, allocations: 4.031 kB / 0.548 GB, free: 8.207 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006706/0.6636, allocations: 1.759 MB / 0.5497 GB, free: 6.449 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.0007836/0.6644, allocations: 275.4 kB / 0.5499 GB, free: 6.172 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006468/0.6709, allocations: 4.213 MB / 0.554 GB, free: 1.953 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003682/0.6712, allocations: 120.2 kB / 0.5542 GB, free: 1.824 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.6728, allocations: 1.126 MB / 0.5553 GB, free: 0.6875 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.6755, allocations: 0.6341 MB / 0.5559 GB, free: 76 kB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.695, allocations: 13.18 MB / 0.5687 GB, free: 2.59 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/0.6982, allocations: 2.113 MB / 0.5708 GB, free: 452 kB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002763/0.701, allocations: 0.7846 MB / 0.5716 GB, free: 15.65 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.7025, allocations: 0.8408 MB / 0.5724 GB, free: 14.81 MB / 458.8 MB Notification: Performance of SimCode: time 3.817e-06/0.7025, allocations: 0 / 0.5724 GB, free: 14.81 MB / 458.8 MB Notification: Performance of Templates: time 0.2263/0.9288, allocations: 56.64 MB / 0.6277 GB, free: 147 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 -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.2920173816382885]