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.001138/0.001138, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001169/0.001169, allocations: 161 kB / 24.56 MB, free: 16 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 1.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.641 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.2799/0.2799, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.893e-06/1.893e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.214e-05, allocations: 2.312 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01365/0.01368, allocations: 15.67 MB / 391.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009368/0.02305, allocations: 5.255 MB / 396.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.0257, allocations: 111.5 kB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005786/0.03148, allocations: 4.474 MB / 401.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007023/0.03851, allocations: 2.908 MB / 404.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.04144, allocations: 1.415 MB / 405.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009598/0.05104, allocations: 8.8 MB / 414.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007704/0.05874, allocations: 5.671 MB / 420.3 MB, free: 8.18 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009078/0.06782, allocations: 4.667 MB / 425 MB, free: 3.504 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006756/0.07458, allocations: 4.26 MB / 429.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0024/0.07698, allocations: 0.6016 MB / 429.8 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.08084, allocations: 1.728 MB / 431.6 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004653/0.08549, allocations: 3.538 MB / 435.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.08991, allocations: 2.208 MB / 437.3 MB, free: 7.141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2069/0.2968, allocations: 7.909 MB / 445.2 MB, free: 69.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2968, allocations: 5.844 kB / 445.2 MB, free: 69.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2968, allocations: 3.719 kB / 445.2 MB, free: 69.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005312/0.2973, allocations: 0 / 445.2 MB, free: 69.12 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.01721/0.3146, allocations: 8.626 MB / 453.8 MB, free: 66.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.3146, allocations: 9.688 kB / 453.8 MB, free: 66.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.3274, allocations: 4.948 MB / 458.8 MB, free: 65.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007797/0.3352, allocations: 3.691 MB / 462.5 MB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.3356, allocations: 397.3 kB / 462.9 MB, free: 64.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/0.338, allocations: 0.5537 MB / 463.4 MB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/0.3655, allocations: 11.3 MB / 474.7 MB, free: 60.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000358/0.3659, allocations: 71.61 kB / 474.8 MB, free: 60.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001461/0.3673, allocations: 247.1 kB / 475 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004105/0.3714, allocations: 3.427 MB / 478.5 MB, free: 59.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.3942, allocations: 6.825 MB / 485.3 MB, free: 59.02 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.07758/0.4718, allocations: 70.63 MB / 0.5429 GB, free: 18.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/0.4804, allocations: 3.408 MB / 0.5462 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.4825, allocations: 1.002 MB / 0.5472 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.4954, allocations: 7.944 MB / 0.555 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/0.4955, allocations: 71.12 kB / 0.555 GB, free: 6.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.993e-06/0.4955, allocations: 0 / 0.555 GB, free: 6.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.04067/0.5361, allocations: 17.55 MB / 0.5722 GB, free: 4.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004677/0.5366, allocations: 184.4 kB / 0.5723 GB, free: 4.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006476/0.5431, allocations: 5.101 MB / 0.5773 GB, free: 15.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007294/0.5438, allocations: 76.28 kB / 0.5774 GB, free: 15.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004047/0.5479, allocations: 5.353 MB / 0.5826 GB, free: 10.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001912/0.5498, allocations: 1.399 MB / 0.584 GB, free: 8.738 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00247/0.5522, allocations: 2.036 MB / 0.586 GB, free: 6.691 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5524, allocations: 484.7 kB / 0.5864 GB, free: 6.215 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.5549, allocations: 1.178 MB / 0.5876 GB, free: 5.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005911/0.5608, allocations: 9.349 MB / 0.5967 GB, free: 8.051 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2125/0.7734, allocations: 11.58 MB / 0.608 GB, free: 125.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003529/0.7737, allocations: 59.75 kB / 0.6081 GB, free: 125.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.02246/0.7962, allocations: 8.899 MB / 0.6168 GB, free: 124 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.7963, allocations: 88.5 kB / 0.6169 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/0.7965, allocations: 193.9 kB / 0.617 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/0.7992, allocations: 1.142 MB / 0.6182 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004763/0.804, allocations: 2.217 MB / 0.6203 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.8096, allocations: 4.613 MB / 0.6248 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/0.8148, allocations: 0.5858 MB / 0.6254 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/0.8161, allocations: 0.5529 MB / 0.6259 GB, free: 121.7 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 (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.004116/0.8202, allocations: 0.9243 MB / 0.6268 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/0.8215, allocations: 0.5997 MB / 0.6274 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/0.8269, allocations: 3.042 MB / 0.6304 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/0.8269, allocations: 37.84 kB / 0.6304 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.827, allocations: 12.22 kB / 0.6304 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.827, allocations: 17.83 kB / 0.6305 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/0.8485, allocations: 10.17 MB / 0.6404 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/0.8485, allocations: 15.12 kB / 0.6404 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.8499, allocations: 0.5283 MB / 0.6409 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.8518, allocations: 0.6588 MB / 0.6416 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/0.8521, allocations: 77.42 kB / 0.6416 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.8557, allocations: 3.306 MB / 0.6449 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.8557, allocations: 24.84 kB / 0.6449 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/0.862, allocations: 4.631 MB / 0.6494 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.8633, allocations: 0.4998 MB / 0.6499 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/0.8639, allocations: 75.73 kB / 0.65 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.8652, allocations: 198.9 kB / 0.6502 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.8655, allocations: 244.2 kB / 0.6504 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.8657, allocations: 109.1 kB / 0.6505 GB, free: 113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003404/0.8691, allocations: 2.164 MB / 0.6526 GB, free: 112.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8691, allocations: 0 / 0.6526 GB, free: 112.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006568/0.8756, allocations: 1.758 MB / 0.6543 GB, free: 112.1 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.0007492/0.8764, allocations: 286.9 kB / 0.6546 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0091/0.8855, allocations: 4.992 MB / 0.6595 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/0.8855, allocations: 0 / 0.6595 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.8878, allocations: 1.405 MB / 0.6609 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.8911, allocations: 0.636 MB / 0.6615 GB, free: 107.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.9102, allocations: 13.11 MB / 0.6743 GB, free: 95.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/0.9121, allocations: 2.134 MB / 0.6764 GB, free: 93.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003931/0.916, allocations: 2.497 MB / 0.6788 GB, free: 92.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008299/0.9168, allocations: 375 kB / 0.6792 GB, free: 91.91 MB / 474.7 MB Notification: Performance of SimCode: time 1.973e-06/0.9168, allocations: 0 / 0.6792 GB, free: 91.91 MB / 474.7 MB Notification: Performance of Templates: time 0.07187/0.9887, allocations: 53.76 MB / 0.7317 GB, free: 41.39 MB / 474.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.447569977957755]