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.001985/0.001985, allocations: 90.56 kB / 20.21 MB, free: 4.336 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.00215/0.00215, allocations: 165.3 kB / 23.52 MB, free: 1.023 MB / 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 1.524/1.524, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2218/0.2218, allocations: 32.37 MB / 270 MB, free: 14.78 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 2.255e-06/2.255e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.327e-05, allocations: 6.25 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.009212/0.009245, allocations: 9.159 MB / 356.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009361/0.01861, allocations: 3.67 MB / 359.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.0205, allocations: 79.62 kB / 359.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.02535, allocations: 2.16 MB / 362 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.03094, allocations: 1.808 MB / 363.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.03327, allocations: 0.7677 MB / 364.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.04, allocations: 4.168 MB / 368.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004329/0.04433, allocations: 2.503 MB / 371.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.04895, allocations: 1.988 MB / 373.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.05282, allocations: 2.018 MB / 375.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008932/0.05372, allocations: 276 kB / 375.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.05652, allocations: 1.139 MB / 376.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.059, allocations: 1.808 MB / 378.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.06139, allocations: 1.098 MB / 379.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009023/0.07041, allocations: 6.331 MB / 385.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.07042, allocations: 0 / 385.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07042, allocations: 0 / 385.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001801/0.0706, allocations: 0 / 385.9 MB, free: 2.652 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.01102/0.08162, allocations: 4.303 MB / 390.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.08167, allocations: 8.031 kB / 390.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.09894, allocations: 2.975 MB / 393.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006715/0.1057, allocations: 2.412 MB / 395.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.1059, allocations: 193.3 kB / 395.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00094/0.1068, allocations: 272.6 kB / 396.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.1235, allocations: 8.702 MB / 404.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.1237, allocations: 51.58 kB / 404.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/0.124, allocations: 127.9 kB / 404.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003269/0.1273, allocations: 1.739 MB / 406.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.1438, allocations: 7.311 MB / 414 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04986/0.1937, allocations: 31.97 MB / 446 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.204, allocations: 2.973 MB / 448.9 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.2069, allocations: 1.615 MB / 450.5 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1751/0.382, allocations: 6.399 MB / 456.9 MB, free: 103.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.382, allocations: 51.28 kB / 457 MB, free: 103.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.358e-06/0.382, allocations: 3.062 kB / 457 MB, free: 103.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=190): time 0.07729/0.4593, allocations: 27.85 MB / 484.8 MB, free: 82.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.4594, allocations: 201.2 kB / 485 MB, free: 82.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.463, allocations: 3.697 MB / 488.7 MB, free: 78.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002653/0.4632, allocations: 49.7 kB / 488.8 MB, free: 78.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4644, allocations: 2.912 MB / 491.7 MB, free: 75.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/0.4649, allocations: 0.7448 MB / 492.4 MB, free: 74.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.4661, allocations: 1.195 MB / 493.6 MB, free: 73.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.4661, allocations: 301.1 kB / 493.9 MB, free: 73.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/0.4687, allocations: 2.362 MB / 496.3 MB, free: 70.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.4724, allocations: 5.952 MB / 0.4905 GB, free: 63.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00732/0.4797, allocations: 8.891 MB / 0.4992 GB, free: 52.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.768e-05/0.4798, allocations: 40 kB / 0.4992 GB, free: 52.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01781/0.4976, allocations: 10.54 MB / 0.5095 GB, free: 42.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.4977, allocations: 56 kB / 0.5095 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.672e-05/0.4978, allocations: 124 kB / 0.5097 GB, free: 41.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009034/0.5068, allocations: 2.955 MB / 0.5125 GB, free: 38.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/0.5108, allocations: 1.326 MB / 0.5138 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.5258, allocations: 12.19 MB / 0.5257 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/0.5302, allocations: 395.5 kB / 0.5261 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005012/0.5307, allocations: 356 kB / 0.5265 GB, free: 24.54 MB / 378.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.002228/0.533, allocations: 1.892 MB / 0.5283 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.5336, allocations: 377.3 kB / 0.5287 GB, free: 22.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.5442, allocations: 5.234 MB / 0.5338 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/0.5442, allocations: 24 kB / 0.5338 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5442, allocations: 8 kB / 0.5338 GB, free: 16.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.5442, allocations: 11.97 kB / 0.5338 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.5617, allocations: 9.226 MB / 0.5428 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.5617, allocations: 0 / 0.5428 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.563, allocations: 256.2 kB / 0.5431 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008576/0.5715, allocations: 2.733 MB / 0.5457 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.5718, allocations: 32 kB / 0.5458 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.5902, allocations: 11.48 MB / 0.557 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5903, allocations: 4.031 kB / 0.557 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/0.6088, allocations: 8.16 MB / 0.565 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/0.6107, allocations: 0.607 MB / 0.5656 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/0.6112, allocations: 31.94 kB / 0.5656 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.6131, allocations: 167.7 kB / 0.5657 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.6135, allocations: 113.1 kB / 0.5658 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.6137, allocations: 51.98 kB / 0.5659 GB, free: 15.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0038/0.6175, allocations: 2.138 MB / 0.568 GB, free: 13.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6175, allocations: 0 / 0.568 GB, free: 13.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007041/0.6246, allocations: 1.133 MB / 0.5691 GB, free: 12.72 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 (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.0006445/0.6252, allocations: 194.8 kB / 0.5693 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01049/0.6357, allocations: 5.553 MB / 0.5747 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6357, allocations: 0 / 0.5747 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.6391, allocations: 1.855 MB / 0.5765 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.6416, allocations: 356.8 kB / 0.5769 GB, free: 4.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.6588, allocations: 8.878 MB / 0.5855 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/0.6627, allocations: 2.422 MB / 0.5879 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004683/0.6674, allocations: 1.788 MB / 0.5896 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/0.6681, allocations: 208.5 kB / 0.5898 GB, free: 7.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.094e-06/0.6681, allocations: 4 kB / 0.5898 GB, free: 7.406 MB / 426.7 MB Notification: Performance of Templates: time 0.1999/0.8681, allocations: 40.02 MB / 0.6289 GB, free: 115.8 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.237838580971584]