Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008836/0.0008836, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003256/0.003256, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8615/0.8615, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.399e-05, allocations: 8.328 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1688/0.1689, allocations: 9.11 MB / 450 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.1728, allocations: 3.693 MB / 453.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.1734, allocations: 72.38 kB / 453.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.1751, allocations: 2.123 MB / 455.9 MB, free: 38.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.1769, allocations: 1.778 MB / 457.6 MB, free: 37.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.1776, allocations: 0.7432 MB / 458.4 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.1797, allocations: 4.397 MB / 462.8 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1811, allocations: 2.422 MB / 465.2 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.1823, allocations: 1.973 MB / 467.2 MB, free: 33.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.1835, allocations: 2.003 MB / 469.2 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.1837, allocations: 272.9 kB / 469.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.1847, allocations: 1.131 MB / 470.6 MB, free: 33.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006967/0.1853, allocations: 1.772 MB / 472.3 MB, free: 32.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006033/0.186, allocations: 1.078 MB / 473.4 MB, free: 31.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.1892, allocations: 6.256 MB / 479.7 MB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1892, allocations: 0 / 479.7 MB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1892, allocations: 0 / 479.7 MB, free: 29.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.187e-05/0.1893, allocations: 1.078 kB / 479.7 MB, free: 29.81 MB / 410.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.004409/0.1937, allocations: 4.25 MB / 483.9 MB, free: 27.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1937, allocations: 7.969 kB / 483.9 MB, free: 27.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/0.2013, allocations: 2.507 MB / 486.4 MB, free: 27.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.2042, allocations: 2.344 MB / 488.8 MB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/0.2043, allocations: 193.8 kB / 489 MB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003835/0.2047, allocations: 275.5 kB / 489.2 MB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008432/0.2132, allocations: 8.678 MB / 497.9 MB, free: 21.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.83e-05/0.2132, allocations: 43.62 kB / 498 MB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.2135, allocations: 131.4 kB / 498.1 MB, free: 21.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/0.2151, allocations: 1.734 MB / 499.8 MB, free: 21.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007666/0.2228, allocations: 7.287 MB / 0.4952 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.2425, allocations: 31.78 MB / 0.5263 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.2473, allocations: 2.993 MB / 0.5292 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.2486, allocations: 1.58 MB / 0.5307 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006538/0.2551, allocations: 6.272 MB / 0.5368 GB, free: 5.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2551, allocations: 51.5 kB / 0.5369 GB, free: 5.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 3.116e-06/0.2551, allocations: 3.938 kB / 0.5369 GB, free: 5.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.03362/0.2888, allocations: 20 MB / 0.5564 GB, free: 1.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.2888, allocations: 201.2 kB / 0.5566 GB, free: 1.531 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.2919, allocations: 3.644 MB / 0.5602 GB, free: 13.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.292, allocations: 49.7 kB / 0.5602 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.2931, allocations: 2.911 MB / 0.5631 GB, free: 10.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006878/0.2938, allocations: 0.7442 MB / 0.5638 GB, free: 10.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009959/0.2948, allocations: 1.187 MB / 0.565 GB, free: 8.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.2949, allocations: 305.1 kB / 0.5652 GB, free: 8.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.2969, allocations: 2.21 MB / 0.5674 GB, free: 6.418 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/0.3007, allocations: 5.828 MB / 0.5731 GB, free: 14.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/0.307, allocations: 8.594 MB / 0.5815 GB, free: 4.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/0.3071, allocations: 39.94 kB / 0.5815 GB, free: 4.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.009752/0.3168, allocations: 9.156 MB / 0.5905 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.3169, allocations: 56 kB / 0.5905 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.015e-05/0.3169, allocations: 124 kB / 0.5906 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.3197, allocations: 1.653 MB / 0.5923 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.3217, allocations: 1.329 MB / 0.5935 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00939/0.331, allocations: 9.701 MB / 0.603 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.3333, allocations: 348.4 kB / 0.6034 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.3336, allocations: 368 kB / 0.6037 GB, free: 13.58 MB / 0.5105 GB 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.001987/0.3356, allocations: 1.889 MB / 0.6056 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.3359, allocations: 321.8 kB / 0.6059 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/0.3412, allocations: 4.095 MB / 0.6099 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.3412, allocations: 20 kB / 0.6099 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3412, allocations: 8 kB / 0.6099 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3412, allocations: 11.97 kB / 0.6099 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009251/0.3505, allocations: 7.573 MB / 0.6173 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.3505, allocations: 5.469 kB / 0.6173 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.3511, allocations: 251.6 kB / 0.6175 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/0.3537, allocations: 1.44 MB / 0.6189 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.482e-05/0.3538, allocations: 28 kB / 0.619 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008568/0.3624, allocations: 9.003 MB / 0.6278 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3624, allocations: 7.969 kB / 0.6278 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.182/0.5444, allocations: 6.701 MB / 0.6343 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008376/0.5453, allocations: 304.7 kB / 0.6346 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.5456, allocations: 25.94 kB / 0.6346 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.5464, allocations: 125 kB / 0.6347 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.5467, allocations: 114.5 kB / 0.6349 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.5467, allocations: 56.77 kB / 0.6349 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002109/0.5488, allocations: 2.11 MB / 0.637 GB, free: 153 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5488, allocations: 0 / 0.637 GB, free: 153 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003129/0.552, allocations: 1.052 MB / 0.638 GB, free: 152.9 MB / 0.5261 GB 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.0003656/0.5523, allocations: 174.8 kB / 0.6382 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004597/0.5569, allocations: 5.21 MB / 0.6433 GB, free: 151 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5569, allocations: 0 / 0.6433 GB, free: 151 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.5585, allocations: 1.676 MB / 0.6449 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.5597, allocations: 344.7 kB / 0.6452 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.5684, allocations: 9.028 MB / 0.654 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.5707, allocations: 2.4 MB / 0.6564 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.5713, allocations: 259.1 kB / 0.6566 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/0.5713, allocations: 0 / 0.6566 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06047/0.6317, allocations: 70.3 MB / 0.7253 GB, free: 100 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.735009299591184]