Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001298/0.001298, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002109/0.003407, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001407/0.001407, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.003229, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8972/0.8972, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1827/1.08, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1257/0.1257, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02385/0.1495, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.943e-05, allocations: 6.25 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.0077/0.00772, allocations: 9.96 MB / 277.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007411/0.01513, allocations: 3.922 MB / 281.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009791/0.01611, allocations: 75.62 kB / 281.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.01821, allocations: 2.125 MB / 283.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.02073, allocations: 1.781 MB / 285.1 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.02178, allocations: 0.717 MB / 285.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.02488, allocations: 3.954 MB / 289.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.02662, allocations: 2.297 MB / 292.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.02885, allocations: 2.295 MB / 294.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.03065, allocations: 1.921 MB / 296.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.03104, allocations: 272 kB / 296.5 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.0325, allocations: 1.178 MB / 297.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.0335, allocations: 1.629 MB / 299.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.0343, allocations: 0.8918 MB / 300.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.0374, allocations: 3.946 MB / 304.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.03742, allocations: 0 / 304.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.03742, allocations: 0 / 304.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-05/0.03747, allocations: 0 / 304.2 MB, free: 1.371 MB / 298.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.004222/0.0417, allocations: 4.802 MB / 309 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.04173, allocations: 8.031 kB / 309 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.04466, allocations: 1.12 MB / 310.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.04646, allocations: 1.697 MB / 311.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.034e-05/0.04655, allocations: 193.3 kB / 312 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.04685, allocations: 276.5 kB / 312.3 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.05059, allocations: 4.322 MB / 316.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.05065, allocations: 39.69 kB / 316.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.05084, allocations: 123.9 kB / 316.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.05208, allocations: 1.544 MB / 318.3 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.05491, allocations: 2.183 MB / 320.5 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1776/0.2325, allocations: 26.81 MB / 347.3 MB, free: 22.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.2351, allocations: 1.418 MB / 348.7 MB, free: 22.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.2355, allocations: 349.5 kB / 349 MB, free: 22.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004266/0.2397, allocations: 3.442 MB / 352.5 MB, free: 21.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2398, allocations: 51.53 kB / 352.5 MB, free: 21.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.806e-06/0.2398, allocations: 2.078 kB / 352.5 MB, free: 21.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=169): time 0.01466/0.2544, allocations: 7.258 MB / 359.8 MB, free: 20.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2545, allocations: 146.1 kB / 359.9 MB, free: 20.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.2564, allocations: 3.023 MB / 363 MB, free: 19.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.2565, allocations: 52.27 kB / 363 MB, free: 19.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007957/0.2573, allocations: 2.809 MB / 365.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.2576, allocations: 0.6729 MB / 366.5 MB, free: 17.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007663/0.2583, allocations: 1.131 MB / 367.6 MB, free: 17.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.92e-05/0.2584, allocations: 309 kB / 367.9 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/0.2593, allocations: 0.7627 MB / 368.7 MB, free: 16.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.2611, allocations: 4.363 MB / 373 MB, free: 12.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.2641, allocations: 5.61 MB / 378.7 MB, free: 5.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/0.2641, allocations: 36 kB / 378.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.004245/0.2683, allocations: 4.366 MB / 383.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.2684, allocations: 62.19 kB / 383.1 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.736e-05/0.2684, allocations: 132 kB / 383.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.2698, allocations: 0.7133 MB / 384 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.2719, allocations: 1.464 MB / 385.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.2748, allocations: 2.996 MB / 388.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.2765, allocations: 263.7 kB / 388.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.2768, allocations: 318.8 kB / 389 MB, free: 12.21 MB / 346.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.0007615/0.2775, allocations: 0.6122 MB / 389.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.2778, allocations: 211.7 kB / 389.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.2797, allocations: 1.213 MB / 391 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.2797, allocations: 16 kB / 391 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2797, allocations: 8 kB / 391 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2798, allocations: 11.97 kB / 391.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004924/0.2847, allocations: 3.798 MB / 394.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2847, allocations: 4 kB / 394.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.2852, allocations: 235.7 kB / 395.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.2857, allocations: 410.2 kB / 395.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.2872, allocations: 0.6939 MB / 396.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.2873, allocations: 24 kB / 396.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.2898, allocations: 2.586 MB / 398.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2898, allocations: 6.5 kB / 398.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.292, allocations: 1.986 MB / 400.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.2922, allocations: 28 kB / 400.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.2928, allocations: 35.98 kB / 400.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.2929, allocations: 102.1 kB / 400.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.293, allocations: 43.03 kB / 401 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007985/0.2938, allocations: 1.085 MB / 402.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2938, allocations: 0 / 402.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002196/0.2959, allocations: 0.9803 MB / 403.1 MB, free: 14.64 MB / 362.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.0002945/0.2962, allocations: 173.9 kB / 403.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.2984, allocations: 2.549 MB / 405.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001533/0.2986, allocations: 110.8 kB / 405.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.2991, allocations: 0.6056 MB / 406.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.3003, allocations: 0.7253 MB / 407.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.3081, allocations: 6.595 MB / 413.8 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/0.3089, allocations: 1.097 MB / 414.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008953/0.3098, allocations: 464.5 kB / 415.4 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.3104, allocations: 0.4934 MB / 415.9 MB, free: 1.848 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3104, allocations: 0 / 415.9 MB, free: 1.848 MB / 362.7 MB Notification: Performance of Templates: time 0.04019/0.3506, allocations: 32.54 MB / 448.4 MB, free: 1.5 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9087771447375417]