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.001954/0.001954, allocations: 77.08 kB / 19.93 MB, free: 1.773 MB / 14.72 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.002679/0.002679, allocations: 172.1 kB / 23.22 MB, free: 4.883 MB / 14.72 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.61/1.61, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 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.2193/0.2193, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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 2.304e-06/2.304e-06, allocations: 0 / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.573e-05, allocations: 2.281 kB / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02142/0.02145, allocations: 15.28 MB / 422.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.0364, allocations: 5.029 MB / 427.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/0.04056, allocations: 123.4 kB / 427.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.05274, allocations: 5.369 MB / 433.2 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.06289, allocations: 2.919 MB / 436.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.0666, allocations: 1.306 MB / 437.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01369/0.08028, allocations: 7.997 MB / 445.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009196/0.08948, allocations: 6.025 MB / 451.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.1011, allocations: 4.331 MB / 455.7 MB, free: 2.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008965/0.11, allocations: 4.353 MB / 460.1 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002756/0.1128, allocations: 0.6328 MB / 460.7 MB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.1172, allocations: 1.323 MB / 462.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006865/0.1241, allocations: 3.767 MB / 465.8 MB, free: 8.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00869/0.1328, allocations: 2.399 MB / 468.2 MB, free: 5.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3202/0.453, allocations: 12.38 MB / 480.6 MB, free: 33.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.453, allocations: 0.6562 kB / 480.6 MB, free: 33.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.453, allocations: 1.062 kB / 480.6 MB, free: 33.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006126/0.4536, allocations: 2.625 kB / 480.6 MB, free: 33.77 MB / 398.1 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.03893/0.4925, allocations: 8.404 MB / 489 MB, free: 30.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/0.4926, allocations: 9.656 kB / 489 MB, free: 30.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.5106, allocations: 3.045 MB / 492.1 MB, free: 30.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.5242, allocations: 3.867 MB / 495.9 MB, free: 29.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005655/0.5248, allocations: 450.7 kB / 496.4 MB, free: 29.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004049/0.5289, allocations: 0.5911 MB / 497 MB, free: 29.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05706/0.5859, allocations: 21.33 MB / 0.5061 GB, free: 19.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003077/0.5862, allocations: 75.88 kB / 0.5062 GB, free: 19.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/0.5879, allocations: 287.9 kB / 0.5065 GB, free: 19.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005644/0.5935, allocations: 3.538 MB / 0.5099 GB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04237/0.6359, allocations: 17.11 MB / 0.5267 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1195/0.7554, allocations: 63.16 MB / 0.5883 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/0.776, allocations: 6.263 MB / 0.5944 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/0.7806, allocations: 2.088 MB / 0.5965 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02214/0.8027, allocations: 8.273 MB / 0.6046 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.127e-05/0.8028, allocations: 72.16 kB / 0.6046 GB, free: 15.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 9.348e-06/0.8028, allocations: 0 / 0.6046 GB, free: 15.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.08212/0.885, allocations: 23.83 MB / 0.6279 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.8851, allocations: 170.5 kB / 0.6281 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/0.8974, allocations: 5.874 MB / 0.6338 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000757/0.8981, allocations: 73.7 kB / 0.6339 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.006072/0.9042, allocations: 5.391 MB / 0.6391 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00263/0.9068, allocations: 1.281 MB / 0.6404 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004347/0.9112, allocations: 1.93 MB / 0.6423 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9113, allocations: 305.1 kB / 0.6426 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006344/0.9177, allocations: 2.846 MB / 0.6453 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/0.9308, allocations: 8.678 MB / 0.6538 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2654/1.196, allocations: 12.5 MB / 0.666 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003098/1.197, allocations: 62.69 kB / 0.6661 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02591/1.222, allocations: 11.23 MB / 0.677 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.223, allocations: 94.94 kB / 0.6771 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/1.223, allocations: 206.5 kB / 0.6773 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/1.223, allocations: 272.1 kB / 0.6776 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008362/1.231, allocations: 2.387 MB / 0.6799 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003068/1.232, allocations: 402 kB / 0.6803 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008945/1.241, allocations: 0.6346 MB / 0.6809 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/1.242, allocations: 0.5795 MB / 0.6815 GB, free: 180.1 MB / 0.5294 GB 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.006509/1.249, allocations: 3.385 MB / 0.6848 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.25, allocations: 0.5072 MB / 0.6853 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/1.256, allocations: 3.341 MB / 0.6886 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.256, allocations: 35.31 kB / 0.6886 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.256, allocations: 7.859 kB / 0.6886 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/1.256, allocations: 13.83 kB / 0.6886 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.276, allocations: 11.42 MB / 0.6998 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/1.276, allocations: 36 kB / 0.6998 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.279, allocations: 0.6178 MB / 0.7004 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-05/1.279, allocations: 52.12 kB / 0.7004 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/1.279, allocations: 106.1 kB / 0.7005 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.732e-05/1.279, allocations: 67.69 kB / 0.7006 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-05/1.279, allocations: 51.75 kB / 0.7007 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00797/1.287, allocations: 6.191 MB / 0.7067 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/1.29, allocations: 0.7712 MB / 0.7075 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/1.292, allocations: 101.5 kB / 0.7076 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/1.295, allocations: 243.7 kB / 0.7078 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/1.296, allocations: 312 kB / 0.7081 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.296, allocations: 134.5 kB / 0.7082 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006634/1.303, allocations: 3.39 MB / 0.7115 GB, free: 157 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/1.303, allocations: 0 / 0.7115 GB, free: 157 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01144/1.314, allocations: 1.704 MB / 0.7132 GB, free: 155.3 MB / 0.5294 GB 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.001214/1.315, allocations: 304.4 kB / 0.7135 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.327, allocations: 6.322 MB / 0.7197 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.455e-05/1.328, allocations: 8.125 kB / 0.7197 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/1.33, allocations: 1.479 MB / 0.7211 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006401/1.337, allocations: 0.6437 MB / 0.7217 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/1.365, allocations: 15.6 MB / 0.737 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/1.371, allocations: 4.658 MB / 0.7415 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006066/1.377, allocations: 2.698 MB / 0.7442 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.379, allocations: 400.4 kB / 0.7445 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/1.379, allocations: 3.938 kB / 0.7445 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.08201/1.461, allocations: 38.42 MB / 0.7821 GB, free: 84.59 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] 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.89997224137187]