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.001427/0.001427, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001522/0.001522, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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.478/1.478, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.342/0.342, allocations: 34.24 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.924e-05/4.14e-05, allocations: 4.281 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01601/0.01605, allocations: 9.119 MB / 386.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.02788, allocations: 3.685 MB / 390 MB, free: 6.035 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.03064, allocations: 71.62 kB / 390.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006212/0.03685, allocations: 2.153 MB / 392.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.04384, allocations: 1.781 MB / 394 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.04678, allocations: 0.756 MB / 394.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008892/0.05567, allocations: 4.402 MB / 399.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006364/0.06204, allocations: 2.507 MB / 401.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.06856, allocations: 1.964 MB / 403.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004907/0.07346, allocations: 2.007 MB / 405.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.07504, allocations: 276 kB / 405.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.07868, allocations: 1.127 MB / 407.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003477/0.08215, allocations: 1.78 MB / 408.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00351/0.08566, allocations: 1.075 MB / 409.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.09857, allocations: 6.285 MB / 416.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.09859, allocations: 0 / 416.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.09859, allocations: 0 / 416.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003452/0.09894, allocations: 0 / 416.2 MB, free: 11.74 MB / 394.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.01591/0.1148, allocations: 4.272 MB / 420.5 MB, free: 7.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1149, allocations: 8.031 kB / 420.5 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/0.1343, allocations: 2.967 MB / 423.4 MB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007208/0.1415, allocations: 2.349 MB / 425.8 MB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.1418, allocations: 193.3 kB / 426 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.143, allocations: 284.4 kB / 426.3 MB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.1622, allocations: 8.721 MB / 435 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/0.1624, allocations: 39.7 kB / 435 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.1628, allocations: 127.8 kB / 435.1 MB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/0.166, allocations: 1.739 MB / 436.9 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.191/0.3571, allocations: 7.321 MB / 444.2 MB, free: 95.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.3909, allocations: 31.95 MB / 476.2 MB, free: 72.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/0.3985, allocations: 2.981 MB / 479.1 MB, free: 72.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4004, allocations: 1.614 MB / 480.7 MB, free: 71.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009367/0.4097, allocations: 6.403 MB / 487.2 MB, free: 68.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4098, allocations: 51 kB / 487.2 MB, free: 68.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=153): time 3.717e-06/0.4098, allocations: 0 / 487.2 MB, free: 68.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=190): time 0.0838/0.4936, allocations: 27.82 MB / 0.503 GB, free: 55.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.4936, allocations: 205.2 kB / 0.5031 GB, free: 55.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005104/0.4987, allocations: 3.639 MB / 0.5067 GB, free: 51.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006161/0.4994, allocations: 49.7 kB / 0.5067 GB, free: 51.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.501, allocations: 2.896 MB / 0.5096 GB, free: 49.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008905/0.5019, allocations: 0.7399 MB / 0.5103 GB, free: 48.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.5034, allocations: 1.191 MB / 0.5115 GB, free: 47.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.5034, allocations: 301.1 kB / 0.5117 GB, free: 46.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.5062, allocations: 2.37 MB / 0.5141 GB, free: 44.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/0.5101, allocations: 5.966 MB / 0.5199 GB, free: 36.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/0.5186, allocations: 8.916 MB / 0.5286 GB, free: 26.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/0.5188, allocations: 36 kB / 0.5286 GB, free: 26 MB / 410.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01948/0.5383, allocations: 10.56 MB / 0.5389 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.5384, allocations: 56 kB / 0.539 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.5385, allocations: 124.5 kB / 0.5391 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009092/0.5476, allocations: 2.958 MB / 0.542 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/0.5517, allocations: 1.326 MB / 0.5433 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/0.5681, allocations: 12.19 MB / 0.5552 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/0.5736, allocations: 391.5 kB / 0.5556 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/0.5749, allocations: 359.9 kB / 0.5559 GB, free: 13.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * 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 (710): * Single equations (assignments): 706 * 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 {(2,46,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004156/0.579, allocations: 1.887 MB / 0.5578 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/0.5801, allocations: 371.2 kB / 0.5581 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.5941, allocations: 5.25 MB / 0.5632 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/0.5941, allocations: 23.94 kB / 0.5633 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/0.5942, allocations: 8 kB / 0.5633 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-05/0.5942, allocations: 11.91 kB / 0.5633 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/0.6179, allocations: 9.224 MB / 0.5723 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/0.6179, allocations: 3.938 kB / 0.5723 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.6194, allocations: 259.6 kB / 0.5725 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/0.6296, allocations: 2.735 MB / 0.5752 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004348/0.63, allocations: 28 kB / 0.5752 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.6504, allocations: 11.49 MB / 0.5865 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6504, allocations: 0 / 0.5865 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/0.6699, allocations: 8.182 MB / 0.5944 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.6711, allocations: 301.7 kB / 0.5947 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009987/0.6721, allocations: 28 kB / 0.5948 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/0.6745, allocations: 167.7 kB / 0.5949 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005799/0.675, allocations: 121 kB / 0.595 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.6752, allocations: 43.98 kB / 0.5951 GB, free: 5.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003785/0.679, allocations: 2.103 MB / 0.5971 GB, free: 3.562 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.679, allocations: 4.062 kB / 0.5971 GB, free: 3.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006343/0.6853, allocations: 1.101 MB / 0.5982 GB, free: 2.457 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (129): * Single equations (assignments): 125 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006687/0.686, allocations: 166.4 kB / 0.5984 GB, free: 2.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1669/0.8529, allocations: 5.558 MB / 0.6038 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.853, allocations: 0 / 0.6038 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003783/0.8567, allocations: 1.87 MB / 0.6056 GB, free: 133.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.8601, allocations: 353.1 kB / 0.606 GB, free: 133.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/0.879, allocations: 8.855 MB / 0.6146 GB, free: 129.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/0.8818, allocations: 2.424 MB / 0.617 GB, free: 129.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003494/0.8853, allocations: 1.778 MB / 0.6187 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.8859, allocations: 211.2 kB / 0.6189 GB, free: 129 MB / 458.7 MB Notification: Performance of SimCode: time 1.462e-06/0.8859, allocations: 2.297 kB / 0.6189 GB, free: 129 MB / 458.7 MB Notification: Performance of Templates: time 0.06452/0.9504, allocations: 39.53 MB / 0.6575 GB, free: 112.1 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.400036951992661]