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.001002/0.001002, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009965/0.0009965, allocations: 161 kB / 24.56 MB, free: 20 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 0.9758/0.9758, allocations: 177.1 MB / 205 MB, free: 5.289 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.2709/0.2709, allocations: 34.26 MB / 295.7 MB, free: 0.6367 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.102e-06/1.102e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.588e-05, allocations: 6.25 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01218/0.0122, allocations: 15.66 MB / 393.7 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008399/0.0206, allocations: 5.252 MB / 398.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.02193, allocations: 111.5 kB / 399 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.02603, allocations: 4.474 MB / 403.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.02952, allocations: 2.904 MB / 406.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.03111, allocations: 1.419 MB / 407.8 MB, free: 4.727 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006255/0.03736, allocations: 8.79 MB / 416.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005675/0.04304, allocations: 5.675 MB / 422.3 MB, free: 6.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.04741, allocations: 4.151 MB / 426.5 MB, free: 2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.05122, allocations: 4.314 MB / 430.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007478/0.05197, allocations: 0.6055 MB / 431.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.0539, allocations: 1.756 MB / 433.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.05591, allocations: 3.545 MB / 436.7 MB, free: 7.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.0578, allocations: 2.216 MB / 438.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1605/0.2183, allocations: 7.948 MB / 446.8 MB, free: 66.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.2183, allocations: 0 / 446.8 MB, free: 66.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2183, allocations: 2.938 kB / 446.8 MB, free: 66.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004258/0.2187, allocations: 0 / 446.8 MB, free: 66.01 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.01503/0.2337, allocations: 8.654 MB / 455.5 MB, free: 62.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2338, allocations: 12.22 kB / 455.5 MB, free: 62.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.2442, allocations: 4.98 MB / 460.5 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007453/0.2517, allocations: 3.808 MB / 464.3 MB, free: 61.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.252, allocations: 394.8 kB / 464.7 MB, free: 61.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.2538, allocations: 0.5546 MB / 465.2 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.2752, allocations: 11.29 MB / 476.5 MB, free: 57.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002736/0.2754, allocations: 67.22 kB / 476.6 MB, free: 57.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007272/0.2762, allocations: 253.1 kB / 476.8 MB, free: 57.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003409/0.2796, allocations: 3.421 MB / 480.3 MB, free: 56.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/0.2989, allocations: 6.816 MB / 487.1 MB, free: 55.98 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.05695/0.3558, allocations: 70.58 MB / 0.5446 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/0.3635, allocations: 3.423 MB / 0.5479 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.365, allocations: 0.989 MB / 0.5489 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.3767, allocations: 7.87 MB / 0.5566 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.3768, allocations: 62.67 kB / 0.5566 GB, free: 3.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 5.781e-06/0.3768, allocations: 0 / 0.5566 GB, free: 3.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.04135/0.4181, allocations: 18.64 MB / 0.5748 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.4182, allocations: 196.2 kB / 0.575 GB, free: 376 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006133/0.4244, allocations: 5.11 MB / 0.58 GB, free: 11.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005639/0.4249, allocations: 73.7 kB / 0.5801 GB, free: 11.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002837/0.4278, allocations: 5.352 MB / 0.5853 GB, free: 5.879 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00145/0.4292, allocations: 1.376 MB / 0.5867 GB, free: 4.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.4314, allocations: 2.038 MB / 0.5887 GB, free: 2.469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4315, allocations: 480.7 kB / 0.5891 GB, free: 1.996 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.4337, allocations: 1.143 MB / 0.5902 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006137/0.4398, allocations: 9.315 MB / 0.5993 GB, free: 3.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1826/0.6224, allocations: 11.51 MB / 0.6106 GB, free: 121.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003568/0.6227, allocations: 55.69 kB / 0.6106 GB, free: 121.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01827/0.641, allocations: 8.809 MB / 0.6192 GB, free: 120.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.6411, allocations: 89.94 kB / 0.6193 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/0.6413, allocations: 192.7 kB / 0.6195 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/0.6442, allocations: 1.142 MB / 0.6206 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/0.649, allocations: 2.205 MB / 0.6228 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.6545, allocations: 4.589 MB / 0.6272 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/0.6594, allocations: 0.5901 MB / 0.6278 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/0.6605, allocations: 0.5525 MB / 0.6284 GB, free: 118 MB / 474.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 (1179): * Single equations (assignments): 1172 * 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.002631/0.6631, allocations: 0.921 MB / 0.6293 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008992/0.664, allocations: 0.5907 MB / 0.6298 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.6694, allocations: 2.914 MB / 0.6327 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/0.6695, allocations: 36.56 kB / 0.6327 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.6695, allocations: 6.562 kB / 0.6327 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.6695, allocations: 14.48 kB / 0.6327 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.6879, allocations: 9.821 MB / 0.6423 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.6879, allocations: 14.19 kB / 0.6423 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.6892, allocations: 0.4924 MB / 0.6428 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/0.6912, allocations: 0.7091 MB / 0.6435 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.6915, allocations: 72.61 kB / 0.6436 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.6953, allocations: 3.455 MB / 0.647 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6953, allocations: 15.22 kB / 0.647 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/0.7017, allocations: 4.501 MB / 0.6514 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.7029, allocations: 0.4919 MB / 0.6519 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/0.7034, allocations: 66.89 kB / 0.6519 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.7046, allocations: 177.5 kB / 0.6521 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/0.705, allocations: 247.7 kB / 0.6523 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.7051, allocations: 103.9 kB / 0.6524 GB, free: 109.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003059/0.7082, allocations: 2.168 MB / 0.6545 GB, free: 108.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7082, allocations: 0 / 0.6545 GB, free: 108.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006916/0.7151, allocations: 1.744 MB / 0.6562 GB, free: 108.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007136/0.7158, allocations: 286.4 kB / 0.6565 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009032/0.7248, allocations: 4.952 MB / 0.6613 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/0.7249, allocations: 4 kB / 0.6614 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.7273, allocations: 1.404 MB / 0.6627 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/0.7308, allocations: 0.6326 MB / 0.6633 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/0.751, allocations: 12.97 MB / 0.676 GB, free: 90.72 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.7534, allocations: 2.128 MB / 0.6781 GB, free: 89.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005299/0.7587, allocations: 2.486 MB / 0.6805 GB, free: 87.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.7598, allocations: 371.2 kB / 0.6809 GB, free: 87.41 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/0.7598, allocations: 0 / 0.6809 GB, free: 87.41 MB / 474.7 MB Notification: Performance of Templates: time 0.06906/0.8289, allocations: 51.06 MB / 0.7307 GB, free: 39.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: 5.333866362925619]