Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.59e-05, allocations: 5.406 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01128/0.01131, allocations: 9.858 MB / 335.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007515/0.01882, allocations: 3.903 MB / 339.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.02, allocations: 75.62 kB / 339.8 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.02252, allocations: 2.18 MB / 342 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.0259, allocations: 1.781 MB / 343.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.02711, allocations: 0.76 MB / 344.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004295/0.0314, allocations: 4.404 MB / 348.9 MB, free: 88 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.03387, allocations: 2.453 MB / 351.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.03665, allocations: 2.425 MB / 353.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.03847, allocations: 1.917 MB / 355.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.0388, allocations: 272 kB / 356 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.04027, allocations: 1.17 MB / 357.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.04141, allocations: 1.788 MB / 358.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.04257, allocations: 1.079 MB / 360 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.04673, allocations: 4.243 MB / 364.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.04674, allocations: 0 / 364.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.04674, allocations: 0 / 364.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.681e-05/0.04684, allocations: 0 / 364.3 MB, free: 0.6367 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.00531/0.05215, allocations: 3.955 MB / 368.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.0522, allocations: 8.031 kB / 368.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.05525, allocations: 1.109 MB / 369.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.05731, allocations: 1.677 MB / 371 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.05741, allocations: 189.3 kB / 371.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.05774, allocations: 272.5 kB / 371.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/0.06222, allocations: 4.35 MB / 375.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.498e-05/0.06229, allocations: 43.58 kB / 375.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.06249, allocations: 127.9 kB / 376 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001253/0.06374, allocations: 1.54 MB / 377.5 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.06701, allocations: 2.167 MB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/0.08673, allocations: 26.81 MB / 406.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.0897, allocations: 1.463 MB / 408 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.09015, allocations: 347 kB / 408.3 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004916/0.09506, allocations: 3.457 MB / 411.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.0951, allocations: 47.56 kB / 411.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 3.948e-06/0.0951, allocations: 0 / 411.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=169): time 0.0168/0.1119, allocations: 7.299 MB / 419.1 MB, free: 7.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.112, allocations: 200.9 kB / 419.3 MB, free: 7.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.1143, allocations: 3.01 MB / 422.3 MB, free: 4.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/0.1144, allocations: 45.7 kB / 422.4 MB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.1157, allocations: 2.81 MB / 425.2 MB, free: 1.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.1161, allocations: 0.6745 MB / 425.8 MB, free: 1.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008492/0.117, allocations: 1.128 MB / 427 MB, free: 15.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.117, allocations: 301.1 kB / 427.3 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1181, allocations: 0.7699 MB / 428 MB, free: 14.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.1209, allocations: 4.36 MB / 432.4 MB, free: 8.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.125, allocations: 5.601 MB / 438 MB, free: 1.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.228e-05/0.1251, allocations: 40 kB / 438 MB, free: 1.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.005609/0.1307, allocations: 4.369 MB / 442.4 MB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.1308, allocations: 67.94 kB / 442.5 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.297e-05/0.1308, allocations: 128 kB / 442.6 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.1326, allocations: 0.7148 MB / 443.3 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.1348, allocations: 1.372 MB / 444.7 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.1382, allocations: 2.983 MB / 447.7 MB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.1405, allocations: 267.7 kB / 447.9 MB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/0.1408, allocations: 312 kB / 448.2 MB, free: 6.781 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (730): * Single equations (assignments): 726 * Array equations: 3 * 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 {(1,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009901/0.1418, allocations: 0.6146 MB / 448.8 MB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.1421, allocations: 211.7 kB / 449.1 MB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.1443, allocations: 1.2 MB / 450.3 MB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.1444, allocations: 20 kB / 450.3 MB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1444, allocations: 4 kB / 450.3 MB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.1444, allocations: 15.91 kB / 450.3 MB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.1497, allocations: 3.784 MB / 454.1 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1497, allocations: 4.219 kB / 454.1 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.1503, allocations: 227.7 kB / 454.3 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.148/0.2984, allocations: 0.6868 MB / 455 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004246/0.2988, allocations: 30.28 kB / 455 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/0.3036, allocations: 2.587 MB / 457.6 MB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3036, allocations: 7.281 kB / 457.6 MB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.3078, allocations: 1.981 MB / 459.6 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008989/0.3087, allocations: 282.8 kB / 459.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.309, allocations: 29.81 kB / 459.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.3099, allocations: 34.06 kB / 459.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.3101, allocations: 103.8 kB / 460 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.308e-05/0.3102, allocations: 38.97 kB / 460.1 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.3113, allocations: 1.07 MB / 461.1 MB, free: 118 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3113, allocations: 3.344 kB / 461.1 MB, free: 118 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002914/0.3143, allocations: 0.9581 MB / 462.1 MB, free: 118 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (revolute.phi,revolute.w) * 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 (122): * Single equations (assignments): 118 * Array equations: 3 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003351/0.3146, allocations: 155.3 kB / 462.3 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002662/0.3173, allocations: 2.559 MB / 464.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001502/0.3174, allocations: 98.78 kB / 464.9 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.318, allocations: 0.5969 MB / 465.5 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.3196, allocations: 0.5098 MB / 466 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007645/0.3273, allocations: 6.459 MB / 472.5 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/0.3282, allocations: 1.087 MB / 473.6 MB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001177/0.3293, allocations: 462.1 kB / 474 MB, free: 114 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.33, allocations: 495.4 kB / 474.5 MB, free: 113.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.054e-06/0.33, allocations: 0 / 474.5 MB, free: 113.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03992/0.3699, allocations: 31.49 MB / 0.4941 GB, free: 84.39 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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: 3.950224747415632]