Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.002353/0.002353, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002197/0.002197, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.902 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.2129/0.2129, allocations: 32.37 MB / 270 MB, free: 14.77 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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.409e-05, allocations: 6.25 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01812/0.01814, allocations: 16.86 MB / 363.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.0327, allocations: 5.119 MB / 368.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/0.03742, allocations: 119.5 kB / 369.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01329/0.05071, allocations: 5.626 MB / 374.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009764/0.06047, allocations: 2.923 MB / 377.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.06412, allocations: 1.333 MB / 378.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01293/0.07704, allocations: 7.99 MB / 386.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.0876, allocations: 6.207 MB / 393.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.09838, allocations: 4.327 MB / 397.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008904/0.1073, allocations: 4.439 MB / 401.9 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002704/0.11, allocations: 0.6328 MB / 402.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.1146, allocations: 1.311 MB / 403.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006199/0.1208, allocations: 3.795 MB / 407.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007294/0.128, allocations: 2.415 MB / 410.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01911/0.1472, allocations: 12.41 MB / 422.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1472, allocations: 0 / 422.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1472, allocations: 0 / 422.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004894/0.1477, allocations: 0 / 422.5 MB, free: 13.97 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02646/0.1741, allocations: 9.721 MB / 432.2 MB, free: 4.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1742, allocations: 12.03 kB / 432.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.1897, allocations: 3.721 MB / 435.9 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2732/0.463, allocations: 3.516 MB / 439.4 MB, free: 84.95 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/0.4634, allocations: 453.3 kB / 439.9 MB, free: 84.94 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.4657, allocations: 0.5866 MB / 440.5 MB, free: 84.93 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0389/0.5046, allocations: 14.84 MB / 455.3 MB, free: 73.61 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000283/0.5049, allocations: 71.33 kB / 455.4 MB, free: 73.54 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/0.5061, allocations: 290.6 kB / 455.7 MB, free: 73.33 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/0.5108, allocations: 3.54 MB / 459.2 MB, free: 69.8 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03098/0.5418, allocations: 9.137 MB / 468.3 MB, free: 60.7 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09216/0.6339, allocations: 80.96 MB / 0.5364 GB, free: 10.07 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/0.6526, allocations: 4.795 MB / 0.5411 GB, free: 5.227 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/0.6557, allocations: 1.1 MB / 0.5422 GB, free: 4.109 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01916/0.6749, allocations: 6.305 MB / 0.5483 GB, free: 13.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.675, allocations: 67.33 kB / 0.5484 GB, free: 13.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=296): time 6.222e-06/0.675, allocations: 0 / 0.5484 GB, free: 13.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=330): time 0.06378/0.7388, allocations: 19.59 MB / 0.5675 GB, free: 10.12 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.7389, allocations: 162.7 kB / 0.5677 GB, free: 9.93 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/0.7498, allocations: 6.462 MB / 0.574 GB, free: 3.469 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007137/0.7505, allocations: 77.7 kB / 0.5741 GB, free: 3.387 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006592/0.7571, allocations: 5.902 MB / 0.5798 GB, free: 13.43 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002155/0.7593, allocations: 1.392 MB / 0.5812 GB, free: 12.03 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004108/0.7634, allocations: 2.427 MB / 0.5836 GB, free: 9.586 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.7637, allocations: 476.8 kB / 0.584 GB, free: 9.117 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003398/0.7671, allocations: 1.163 MB / 0.5852 GB, free: 7.945 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1975/0.9646, allocations: 10.07 MB / 0.595 GB, free: 129.9 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.9794, allocations: 12.35 MB / 0.6071 GB, free: 117.8 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004966/0.9799, allocations: 58.94 kB / 0.6071 GB, free: 117.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.0306/1.011, allocations: 8.421 MB / 0.6153 GB, free: 116.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000323/1.011, allocations: 99.05 kB / 0.6154 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004689/1.011, allocations: 204.8 kB / 0.6156 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/1.012, allocations: 276.6 kB / 0.6159 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/1.024, allocations: 2.364 MB / 0.6182 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000595/1.025, allocations: 407.1 kB / 0.6186 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01305/1.038, allocations: 0.5819 MB / 0.6192 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002746/1.041, allocations: 0.5743 MB / 0.6197 GB, free: 116 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007504/1.048, allocations: 1.109 MB / 0.6208 GB, free: 115.6 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/1.05, allocations: 0.5941 MB / 0.6214 GB, free: 115.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006436/1.057, allocations: 2.14 MB / 0.6235 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/1.057, allocations: 35.66 kB / 0.6235 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.057, allocations: 0 / 0.6235 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/1.057, allocations: 18.27 kB / 0.6235 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/1.09, allocations: 12.03 MB / 0.6353 GB, free: 106.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001097/1.09, allocations: 32 kB / 0.6353 GB, free: 106.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.093, allocations: 0.6036 MB / 0.6359 GB, free: 106.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.408e-05/1.093, allocations: 50.02 kB / 0.6359 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/1.093, allocations: 99.94 kB / 0.636 GB, free: 106 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-05/1.094, allocations: 73.69 kB / 0.6361 GB, free: 106 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-05/1.094, allocations: 49.83 kB / 0.6361 GB, free: 105.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009157/1.103, allocations: 4.93 MB / 0.641 GB, free: 100.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003321/1.106, allocations: 0.7475 MB / 0.6417 GB, free: 100.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/1.108, allocations: 98 kB / 0.6418 GB, free: 100.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003832/1.112, allocations: 201.8 kB / 0.642 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/1.112, allocations: 308.1 kB / 0.6423 GB, free: 99.86 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.112, allocations: 139.9 kB / 0.6424 GB, free: 99.73 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006224/1.118, allocations: 2.588 MB / 0.6449 GB, free: 97.57 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/1.118, allocations: 0 / 0.6449 GB, free: 97.57 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01144/1.13, allocations: 1.708 MB / 0.6466 GB, free: 95.87 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/1.131, allocations: 303.9 kB / 0.6469 GB, free: 95.61 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01233/1.144, allocations: 4.94 MB / 0.6517 GB, free: 91.21 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.333e-05/1.144, allocations: 8 kB / 0.6517 GB, free: 91.21 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.146, allocations: 1.118 MB / 0.6528 GB, free: 90.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006083/1.152, allocations: 0.6791 MB / 0.6535 GB, free: 89.48 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.177, allocations: 14.15 MB / 0.6673 GB, free: 74.64 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005737/1.182, allocations: 4.252 MB / 0.6714 GB, free: 70.35 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005441/1.188, allocations: 2.359 MB / 0.6738 GB, free: 67.99 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.189, allocations: 392.4 kB / 0.6741 GB, free: 67.61 MB / 442.8 MB Notification: Performance of SimCode: time 2.004e-06/1.189, allocations: 4 kB / 0.6741 GB, free: 67.6 MB / 442.8 MB Notification: Performance of Templates: time 0.0746/1.263, allocations: 38.4 MB / 0.7116 GB, free: 29.39 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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: 8.245926724048331]