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.0008369/0.0008369, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009278/0.0009278, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9277/0.9277, allocations: 177.1 MB / 206 MB, free: 4.504 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.1373/0.1373, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.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.142e-06/1.142e-06, allocations: 0 / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.157e-05, allocations: 5.547 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01995/0.01997, allocations: 15.25 MB / 394.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008153/0.02813, allocations: 5.21 MB / 399.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.03041, allocations: 119.4 kB / 399.9 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.03453, allocations: 4.404 MB / 404.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.04021, allocations: 2.908 MB / 407.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.04248, allocations: 1.423 MB / 408.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009274/0.05175, allocations: 8.797 MB / 417.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00688/0.05863, allocations: 5.647 MB / 423 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007068/0.0657, allocations: 4.686 MB / 427.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005264/0.07097, allocations: 4.263 MB / 432 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.07249, allocations: 0.5977 MB / 432.6 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.07563, allocations: 1.736 MB / 434.3 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.07847, allocations: 3.53 MB / 437.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002934/0.0814, allocations: 2.208 MB / 440.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009133/0.09053, allocations: 7.909 MB / 448 MB, free: 2.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.09054, allocations: 4 kB / 448 MB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.09054, allocations: 3.984 kB / 448 MB, free: 2.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003689/0.09091, allocations: 0 / 448 MB, free: 2.469 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.01159/0.1025, allocations: 8.264 MB / 456.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1025, allocations: 12.03 kB / 456.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008643/0.1112, allocations: 3.067 MB / 459.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007841/0.119, allocations: 3.294 MB / 462.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.1193, allocations: 394.4 kB / 463 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.1207, allocations: 0.5543 MB / 463.5 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.1423, allocations: 9.78 MB / 473.3 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.1425, allocations: 67.44 kB / 473.4 MB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/0.1437, allocations: 247.8 kB / 473.6 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004398/0.1481, allocations: 3.085 MB / 476.7 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.1662, allocations: 5.086 MB / 481.8 MB, free: 15.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.2107/0.377, allocations: 69.21 MB / 0.5381 GB, free: 51.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.3885, allocations: 3.074 MB / 0.5411 GB, free: 51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.3907, allocations: 0.8469 MB / 0.5419 GB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/0.4077, allocations: 7.39 MB / 0.5491 GB, free: 47.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/0.4078, allocations: 69.17 kB / 0.5492 GB, free: 46.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 7.043e-06/0.4078, allocations: 0 / 0.5492 GB, free: 46.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.02971/0.4375, allocations: 12.26 MB / 0.5612 GB, free: 35.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.4376, allocations: 196.1 kB / 0.5614 GB, free: 35.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.4421, allocations: 5.059 MB / 0.5663 GB, free: 30.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000371/0.4424, allocations: 77.7 kB / 0.5664 GB, free: 30.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.4443, allocations: 5.392 MB / 0.5717 GB, free: 25.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009434/0.4452, allocations: 1.411 MB / 0.573 GB, free: 23.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.4468, allocations: 2.074 MB / 0.5751 GB, free: 21.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.4468, allocations: 476.8 kB / 0.5755 GB, free: 21.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.4484, allocations: 1.049 MB / 0.5765 GB, free: 20.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/0.4517, allocations: 9.269 MB / 0.5856 GB, free: 7.328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007986/0.4597, allocations: 11.24 MB / 0.5966 GB, free: 8.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001776/0.4599, allocations: 56 kB / 0.5966 GB, free: 8.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01424/0.4742, allocations: 8.113 MB / 0.6045 GB, free: 0.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.4743, allocations: 88 kB / 0.6046 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/0.4744, allocations: 192 kB / 0.6048 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.477, allocations: 0.9932 MB / 0.6058 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/0.4813, allocations: 2.102 MB / 0.6078 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005116/0.4865, allocations: 4.321 MB / 0.612 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/0.4916, allocations: 407.7 kB / 0.6124 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009047/0.4925, allocations: 484 kB / 0.6129 GB, free: 7.879 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.00263/0.4951, allocations: 0.9176 MB / 0.6138 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/0.4962, allocations: 0.5943 MB / 0.6144 GB, free: 6.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/0.5007, allocations: 2.647 MB / 0.617 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/0.5007, allocations: 40 kB / 0.617 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.5007, allocations: 4.141 kB / 0.617 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.5007, allocations: 23.92 kB / 0.617 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.5181, allocations: 9.727 MB / 0.6265 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.5181, allocations: 15.98 kB / 0.6265 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.5194, allocations: 471.3 kB / 0.627 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.5212, allocations: 0.6233 MB / 0.6276 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.5214, allocations: 71.98 kB / 0.6277 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.5248, allocations: 3.122 MB / 0.6307 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.5248, allocations: 23.88 kB / 0.6307 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/0.5312, allocations: 4.227 MB / 0.6349 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.5325, allocations: 496.5 kB / 0.6353 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/0.533, allocations: 71.98 kB / 0.6354 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5342, allocations: 76.02 kB / 0.6355 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.5345, allocations: 241 kB / 0.6357 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.5347, allocations: 95.78 kB / 0.6358 GB, free: 15.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002699/0.5374, allocations: 2.002 MB / 0.6378 GB, free: 13.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5374, allocations: 0 / 0.6378 GB, free: 13.49 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006565/0.5439, allocations: 1.754 MB / 0.6395 GB, free: 11.74 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.0006037/0.5445, allocations: 293.8 kB / 0.6398 GB, free: 11.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006688/0.5512, allocations: 4.644 MB / 0.6443 GB, free: 6.797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.5512, allocations: 5.812 kB / 0.6443 GB, free: 6.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.5528, allocations: 1.296 MB / 0.6456 GB, free: 5.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.5555, allocations: 0.6307 MB / 0.6462 GB, free: 4.867 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.5733, allocations: 13.02 MB / 0.6589 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.5758, allocations: 2.129 MB / 0.661 GB, free: 5.297 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002571/0.5783, allocations: 0.788 MB / 0.6617 GB, free: 4.508 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/0.5798, allocations: 0.8925 MB / 0.6626 GB, free: 3.613 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5798, allocations: 0 / 0.6626 GB, free: 3.613 MB / 490.7 MB Notification: Performance of Templates: time 0.2112/0.7909, allocations: 58.07 MB / 0.7193 GB, free: 129.4 MB / 490.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.249983979854733]