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.000917/0.000917, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001039/0.001039, allocations: 162.2 kB / 24.82 MB, free: 9.191 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 0.9704/0.9704, allocations: 177 MB / 205.1 MB, free: 5.48 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.3134/0.3134, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 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.623e-06/1.623e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.921e-05, allocations: 3.297 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.00946/0.009479, allocations: 9.805 MB / 389 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.01502, allocations: 3.761 MB / 392.8 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.01568, allocations: 71.69 kB / 392.9 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.01774, allocations: 2.196 MB / 395.1 MB, free: 1.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.02025, allocations: 1.785 MB / 396.9 MB, free: 136 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.02113, allocations: 0.76 MB / 397.6 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.02401, allocations: 4.405 MB / 402 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.02599, allocations: 2.511 MB / 404.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.02784, allocations: 2.471 MB / 407 MB, free: 5.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.02943, allocations: 2.015 MB / 409 MB, free: 3.895 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.02972, allocations: 272 kB / 409.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.03117, allocations: 1.131 MB / 410.4 MB, free: 2.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009782/0.03215, allocations: 1.792 MB / 412.2 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.0329, allocations: 1.075 MB / 413.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.03612, allocations: 4.239 MB / 417.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.03613, allocations: 3.984 kB / 417.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.03613, allocations: 0 / 417.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.292e-05/0.03617, allocations: 0 / 417.5 MB, free: 11.36 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.004383/0.04055, allocations: 4.469 MB / 422 MB, free: 6.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.0406, allocations: 12.03 kB / 422 MB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/0.04727, allocations: 1.945 MB / 424 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.04966, allocations: 1.809 MB / 425.8 MB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/0.04975, allocations: 193.3 kB / 425.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.05008, allocations: 276.5 kB / 426.2 MB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.05484, allocations: 4.905 MB / 431.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/0.0549, allocations: 39.67 kB / 431.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.0551, allocations: 127.9 kB / 431.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/0.0563, allocations: 1.536 MB / 432.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/0.05933, allocations: 2.2 MB / 435 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1753/0.2346, allocations: 37.39 MB / 472.4 MB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.2377, allocations: 1.586 MB / 474 MB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.2382, allocations: 429.4 kB / 474.4 MB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004344/0.2425, allocations: 3.685 MB / 478.1 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2425, allocations: 48.58 kB / 478.2 MB, free: 60.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 2.716e-06/0.2425, allocations: 0 / 478.2 MB, free: 60.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=169): time 0.01751/0.26, allocations: 8.269 MB / 486.4 MB, free: 58.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.2601, allocations: 196 kB / 486.6 MB, free: 58.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.2629, allocations: 3.375 MB / 490 MB, free: 57.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/0.263, allocations: 47.89 kB / 490 MB, free: 57.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.2642, allocations: 3.16 MB / 493.2 MB, free: 54.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/0.2646, allocations: 0.7133 MB / 493.9 MB, free: 54.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.2657, allocations: 1.321 MB / 495.2 MB, free: 53.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.2657, allocations: 484 kB / 495.7 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/0.2666, allocations: 0.5862 MB / 496.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/0.2692, allocations: 6.14 MB / 0.4907 GB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/0.2735, allocations: 7.32 MB / 0.4978 GB, free: 37.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-05/0.2736, allocations: 36.28 kB / 0.4978 GB, free: 37.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.006289/0.2799, allocations: 5.12 MB / 0.5028 GB, free: 35.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.2799, allocations: 61.62 kB / 0.5029 GB, free: 35.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.2801, allocations: 133.9 kB / 0.503 GB, free: 35.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.2817, allocations: 0.7191 MB / 0.5037 GB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.2836, allocations: 1.319 MB / 0.505 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.2867, allocations: 3.66 MB / 0.5086 GB, free: 32.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.2887, allocations: 261.8 kB / 0.5088 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.289, allocations: 316 kB / 0.5091 GB, free: 32.76 MB / 410.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.0009363/0.2899, allocations: 0.6493 MB / 0.5098 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.2903, allocations: 365.6 kB / 0.5101 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.2926, allocations: 1.359 MB / 0.5114 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.2926, allocations: 26.75 kB / 0.5115 GB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.2926, allocations: 7.906 kB / 0.5115 GB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2926, allocations: 9.844 kB / 0.5115 GB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006279/0.2989, allocations: 4.478 MB / 0.5159 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2989, allocations: 3.469 kB / 0.5159 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.2994, allocations: 204.4 kB / 0.5161 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.3009, allocations: 0.5231 MB / 0.5166 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/0.301, allocations: 37.88 kB / 0.5166 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.3036, allocations: 3.228 MB / 0.5198 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3036, allocations: 4.703 kB / 0.5198 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.3061, allocations: 2.327 MB / 0.522 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.3064, allocations: 289.5 kB / 0.5223 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.3065, allocations: 32.64 kB / 0.5223 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.307, allocations: 35.14 kB / 0.5224 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.3072, allocations: 110.5 kB / 0.5225 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.3073, allocations: 42.14 kB / 0.5225 GB, free: 23.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.3085, allocations: 1.332 MB / 0.5238 GB, free: 22.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3085, allocations: 0 / 0.5238 GB, free: 22.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002628/0.3111, allocations: 0.9544 MB / 0.5248 GB, free: 21.65 MB / 410.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.0002965/0.3114, allocations: 175.7 kB / 0.5249 GB, free: 21.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.3144, allocations: 2.824 MB / 0.5277 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3144, allocations: 4 kB / 0.5277 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.3149, allocations: 0.7315 MB / 0.5284 GB, free: 18.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.316, allocations: 354.1 kB / 0.5287 GB, free: 18.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/0.3225, allocations: 6.526 MB / 0.5351 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008319/0.3233, allocations: 1.099 MB / 0.5362 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009326/0.3243, allocations: 458.8 kB / 0.5366 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.3249, allocations: 0.5294 MB / 0.5371 GB, free: 10.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3249, allocations: 0 / 0.5371 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Templates: time 0.04222/0.3671, allocations: 31.56 MB / 0.568 GB, free: 12.08 MB / 442.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 -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: 4.206996650900692]