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.001052/0.001052, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.000976/0.000976, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.9838/0.9838, allocations: 177 MB / 204.8 MB, free: 5.57 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.262/0.262, allocations: 34.86 MB / 296.3 MB, free: 472 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 2.255e-06/2.255e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.258e-05, allocations: 3.016 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.00863/0.008662, allocations: 10.04 MB / 388.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.01517, allocations: 3.794 MB / 392.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007921/0.01596, allocations: 75.62 kB / 392.7 MB, free: 4.062 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.01842, allocations: 2.219 MB / 394.9 MB, free: 1.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.02109, allocations: 1.785 MB / 396.7 MB, free: 44 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.02219, allocations: 0.7638 MB / 397.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.02547, allocations: 4.394 MB / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.02719, allocations: 2.503 MB / 404.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.02871, allocations: 1.976 MB / 406.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.03034, allocations: 2.034 MB / 408.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.03062, allocations: 272 kB / 408.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.03192, allocations: 1.119 MB / 409.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.033, allocations: 1.792 MB / 411.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.0338, allocations: 1.079 MB / 412.6 MB, free: 32 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.03712, allocations: 4.231 MB / 416.9 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.03713, allocations: 4 kB / 416.9 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.03713, allocations: 0 / 416.9 MB, free: 11.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.773e-05/0.03716, allocations: 0 / 416.9 MB, free: 11.78 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.004697/0.04185, allocations: 4.599 MB / 421.5 MB, free: 7.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.0419, allocations: 12.03 kB / 421.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00787/0.04977, allocations: 2.924 MB / 424.4 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.05257, allocations: 2.169 MB / 426.6 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.05268, allocations: 201.3 kB / 426.8 MB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.05303, allocations: 276.4 kB / 427 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00589/0.05892, allocations: 5.328 MB / 432.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.05898, allocations: 39.64 kB / 432.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.0592, allocations: 127.9 kB / 432.5 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001628/0.06082, allocations: 1.735 MB / 434.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.06574, allocations: 2.825 MB / 437.1 MB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.2699, allocations: 37.49 MB / 474.6 MB, free: 59.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.2737, allocations: 1.896 MB / 476.5 MB, free: 59.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.2744, allocations: 0.5992 MB / 477.1 MB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004884/0.2792, allocations: 4.641 MB / 481.7 MB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2793, allocations: 50.92 kB / 481.8 MB, free: 57.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 3.066e-06/0.2793, allocations: 3.906 kB / 481.8 MB, free: 57.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.02518/0.3044, allocations: 13.92 MB / 495.7 MB, free: 53.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3045, allocations: 202.1 kB / 495.9 MB, free: 53.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/0.3077, allocations: 3.303 MB / 499.2 MB, free: 51.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/0.3078, allocations: 55.39 kB / 499.2 MB, free: 51.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.309, allocations: 3.07 MB / 0.4905 GB, free: 49.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.3095, allocations: 0.7638 MB / 0.4913 GB, free: 49.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.3107, allocations: 1.297 MB / 0.4925 GB, free: 48.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.3107, allocations: 484.7 kB / 0.493 GB, free: 47.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3119, allocations: 0.7401 MB / 0.4937 GB, free: 47.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.3148, allocations: 6.061 MB / 0.4996 GB, free: 40.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.3196, allocations: 7.466 MB / 0.5069 GB, free: 32.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.371e-05/0.3196, allocations: 36.91 kB / 0.507 GB, free: 32.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.008714/0.3283, allocations: 6.2 MB / 0.513 GB, free: 30.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/0.3284, allocations: 62.41 kB / 0.5131 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.3285, allocations: 125.1 kB / 0.5132 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.3321, allocations: 1.446 MB / 0.5146 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.3342, allocations: 1.33 MB / 0.5159 GB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/0.3401, allocations: 4.949 MB / 0.5207 GB, free: 26.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.3426, allocations: 354 kB / 0.5211 GB, free: 26.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.3429, allocations: 360.7 kB / 0.5214 GB, free: 25.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (714): * Single equations (assignments): 710 * 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,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009399/0.3438, allocations: 0.6373 MB / 0.5221 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.3441, allocations: 365.9 kB / 0.5224 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.3481, allocations: 2.371 MB / 0.5247 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.3481, allocations: 20 kB / 0.5247 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.3481, allocations: 8 kB / 0.5247 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3481, allocations: 10.03 kB / 0.5248 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007725/0.3558, allocations: 5.65 MB / 0.5303 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3558, allocations: 0 / 0.5303 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.3564, allocations: 250.8 kB / 0.5305 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.3594, allocations: 1.238 MB / 0.5317 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.3595, allocations: 35.94 kB / 0.5318 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.3642, allocations: 4.458 MB / 0.5361 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3642, allocations: 0 / 0.5361 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.3688, allocations: 3.44 MB / 0.5395 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.3693, allocations: 297.7 kB / 0.5398 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.3695, allocations: 30.56 kB / 0.5398 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.3702, allocations: 135.8 kB / 0.5399 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.3704, allocations: 116 kB / 0.54 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.3705, allocations: 44 kB / 0.5401 GB, free: 9.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.3718, allocations: 1.404 MB / 0.5414 GB, free: 7.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3718, allocations: 0 / 0.5414 GB, free: 7.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003571/0.3754, allocations: 1.055 MB / 0.5425 GB, free: 6.941 MB / 410.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003554/0.3757, allocations: 177.5 kB / 0.5426 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003773/0.3795, allocations: 3.296 MB / 0.5459 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3795, allocations: 4.188 kB / 0.5459 GB, free: 3.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.3804, allocations: 0.9858 MB / 0.5468 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3815, allocations: 358.5 kB / 0.5472 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/0.3894, allocations: 6.775 MB / 0.5538 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/0.3904, allocations: 1.116 MB / 0.5549 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002071/0.3924, allocations: 1.533 MB / 0.5564 GB, free: 8.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.3928, allocations: 216.5 kB / 0.5566 GB, free: 8.402 MB / 426.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3928, allocations: 0 / 0.5566 GB, free: 8.402 MB / 426.7 MB Notification: Performance of Templates: time 0.04623/0.439, allocations: 35.02 MB / 0.5908 GB, free: 5.926 MB / 458.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.41867415420711]