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.001396/0.001396, allocations: 81.08 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001171/0.001171, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 18.57 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.9875/0.9875, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.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.1357/0.1357, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.653e-06/1.653e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.365e-05, allocations: 4.281 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.006686/0.006709, allocations: 9.854 MB / 358 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006209/0.01292, allocations: 3.756 MB / 361.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.01407, allocations: 71.62 kB / 361.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.01649, allocations: 2.2 MB / 364 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.01987, allocations: 1.824 MB / 365.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.02146, allocations: 0.7638 MB / 366.6 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.02574, allocations: 4.172 MB / 370.8 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.0286, allocations: 2.512 MB / 373.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.03276, allocations: 2.319 MB / 375.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.03548, allocations: 2.022 MB / 377.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007937/0.03627, allocations: 272 kB / 377.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.03818, allocations: 1.139 MB / 379 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.03994, allocations: 1.812 MB / 380.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.04177, allocations: 1.094 MB / 381.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005297/0.04707, allocations: 4.301 MB / 386.2 MB, free: 2.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.04707, allocations: 0 / 386.2 MB, free: 2.891 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04707, allocations: 0 / 386.2 MB, free: 2.891 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002237/0.0473, allocations: 7.938 kB / 386.2 MB, free: 2.883 MB / 314.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.007014/0.05431, allocations: 4.496 MB / 390.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.05435, allocations: 8.031 kB / 390.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006775/0.06113, allocations: 1.953 MB / 392.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.06402, allocations: 1.821 MB / 394.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.06413, allocations: 201.3 kB / 394.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.0645, allocations: 268.5 kB / 395 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/0.07018, allocations: 4.881 MB / 399.9 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-05/0.07027, allocations: 47.59 kB / 399.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.0705, allocations: 127.9 kB / 400 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.0718, allocations: 1.54 MB / 401.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004806/0.07661, allocations: 2.188 MB / 403.8 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02715/0.1038, allocations: 37.42 MB / 441.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.1071, allocations: 1.577 MB / 442.8 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.1076, allocations: 430.1 kB / 443.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005089/0.1127, allocations: 3.695 MB / 446.9 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1127, allocations: 58.33 kB / 446.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 3.506e-06/0.1127, allocations: 4 kB / 446.9 MB, free: 3.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.1644/0.2771, allocations: 8.314 MB / 455.2 MB, free: 99.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.2771, allocations: 202.1 kB / 455.4 MB, free: 99.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.2805, allocations: 3.393 MB / 458.8 MB, free: 98.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.2806, allocations: 50.3 kB / 458.9 MB, free: 98.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.2818, allocations: 3.169 MB / 462.1 MB, free: 97.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.2822, allocations: 0.7027 MB / 462.8 MB, free: 96.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.2833, allocations: 1.322 MB / 464.1 MB, free: 96.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.2833, allocations: 480.2 kB / 464.5 MB, free: 96.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/0.2841, allocations: 0.5904 MB / 465.1 MB, free: 96.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.2865, allocations: 6.144 MB / 471.3 MB, free: 88.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00392/0.2904, allocations: 7.318 MB / 478.6 MB, free: 81.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.721e-05/0.2905, allocations: 38.31 kB / 478.6 MB, free: 81.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.006858/0.2974, allocations: 5.125 MB / 483.8 MB, free: 77.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.2974, allocations: 62.66 kB / 483.8 MB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-05/0.2975, allocations: 131.9 kB / 484 MB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.2991, allocations: 0.7158 MB / 484.7 MB, free: 76.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.3011, allocations: 1.312 MB / 486 MB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.304, allocations: 3.656 MB / 489.6 MB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.3066, allocations: 263.7 kB / 489.9 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.3069, allocations: 316 kB / 490.2 MB, free: 71.37 MB / 378.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.001161/0.308, allocations: 0.6491 MB / 490.9 MB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.3086, allocations: 365.9 kB / 491.2 MB, free: 70.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.3109, allocations: 1.366 MB / 492.6 MB, free: 68.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.3109, allocations: 20 kB / 492.6 MB, free: 68.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.3109, allocations: 4 kB / 492.6 MB, free: 68.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3109, allocations: 7.922 kB / 492.6 MB, free: 68.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.3175, allocations: 4.493 MB / 497.1 MB, free: 64.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.3175, allocations: 7.938 kB / 497.1 MB, free: 64.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.318, allocations: 199.7 kB / 497.3 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.3194, allocations: 0.5325 MB / 497.8 MB, free: 63.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.3195, allocations: 28 kB / 497.9 MB, free: 63.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.322, allocations: 3.233 MB / 0.4893 GB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.322, allocations: 1.75 kB / 0.4894 GB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.3248, allocations: 2.336 MB / 0.4916 GB, free: 57.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008425/0.3257, allocations: 433.6 kB / 0.492 GB, free: 57.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.3259, allocations: 31.97 kB / 0.4921 GB, free: 57.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005727/0.3265, allocations: 32 kB / 0.4921 GB, free: 57.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3266, allocations: 104.7 kB / 0.4922 GB, free: 57.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.3267, allocations: 36 kB / 0.4922 GB, free: 57.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.328, allocations: 1.351 MB / 0.4936 GB, free: 55.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.328, allocations: 0 / 0.4936 GB, free: 55.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003343/0.3313, allocations: 0.9842 MB / 0.4945 GB, free: 54.91 MB / 378.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.0003296/0.3317, allocations: 188.5 kB / 0.4947 GB, free: 54.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.3347, allocations: 2.824 MB / 0.4975 GB, free: 51.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3347, allocations: 8 kB / 0.4975 GB, free: 51.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.3352, allocations: 0.7296 MB / 0.4982 GB, free: 51.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3365, allocations: 346.2 kB / 0.4985 GB, free: 50.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/0.3434, allocations: 6.537 MB / 0.5049 GB, free: 44.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.3441, allocations: 1.096 MB / 0.506 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.3452, allocations: 470.9 kB / 0.5064 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.3458, allocations: 0.5255 MB / 0.5069 GB, free: 42.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3458, allocations: 0 / 0.5069 GB, free: 42.08 MB / 378.7 MB Notification: Performance of Templates: time 0.04069/0.3865, allocations: 32.07 MB / 0.5382 GB, free: 10.1 MB / 378.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 -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: 4.221023292746395]