Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001252/0.001252, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001253/0.001253, allocations: 169.8 kB / 25.61 MB, free: 8.902 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.9202/0.9202, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1404/0.1404, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.859e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01361/0.01364, allocations: 15.1 MB / 394.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009681/0.02332, allocations: 4.878 MB / 399.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.02527, allocations: 119.4 kB / 399.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005092/0.03037, allocations: 5.467 MB / 404.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.03549, allocations: 2.647 MB / 407.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.03781, allocations: 1.31 MB / 408.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006714/0.04452, allocations: 7.699 MB / 416.5 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005582/0.0501, allocations: 5.961 MB / 422.5 MB, free: 12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/0.05458, allocations: 4.12 MB / 426.6 MB, free: 7.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.05802, allocations: 3.979 MB / 430.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.05866, allocations: 0.5703 MB / 431.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.06015, allocations: 1.245 MB / 432.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.06205, allocations: 3.444 MB / 435.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.06411, allocations: 2.185 MB / 438 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006679/0.07079, allocations: 7.146 MB / 445.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.0708, allocations: 4 kB / 445.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0708, allocations: 0 / 445.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002064/0.07101, allocations: 0 / 445.2 MB, free: 5.25 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.007636/0.07864, allocations: 7.904 MB / 453.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.07868, allocations: 12.03 kB / 453.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.08341, allocations: 2.404 MB / 455.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.08639, allocations: 2.915 MB / 458.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/0.08677, allocations: 427.3 kB / 458.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.08734, allocations: 0.5508 MB / 459.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.1002, allocations: 9.943 MB / 469.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.1003, allocations: 71.39 kB / 469.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004569/0.1008, allocations: 271.8 kB / 469.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.1035, allocations: 2.787 MB / 472.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.1139, allocations: 4.618 MB / 477.1 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3598/0.4737, allocations: 69.8 MB / 0.534 GB, free: 32.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0073/0.481, allocations: 3.636 MB / 0.5376 GB, free: 32.72 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.4819, allocations: 0.7898 MB / 0.5384 GB, free: 32.67 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005633/0.4875, allocations: 5.407 MB / 0.5436 GB, free: 31.47 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4876, allocations: 71.64 kB / 0.5437 GB, free: 31.43 MB / 410.8 MB Notification: Performance of pre-optimization done (n=257): time 3.326e-06/0.4876, allocations: 0 / 0.5437 GB, free: 31.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=291): time 0.02252/0.5101, allocations: 11.69 MB / 0.5551 GB, free: 27.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.5101, allocations: 158.5 kB / 0.5553 GB, free: 27.65 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.5133, allocations: 4.929 MB / 0.5601 GB, free: 24.05 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.5134, allocations: 68.11 kB / 0.5602 GB, free: 23.98 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.5149, allocations: 5.302 MB / 0.5653 GB, free: 19.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.5154, allocations: 1.194 MB / 0.5665 GB, free: 18.03 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/0.5166, allocations: 2.008 MB / 0.5685 GB, free: 16.21 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.5167, allocations: 480.8 kB / 0.5689 GB, free: 15.74 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.5179, allocations: 0.842 MB / 0.5697 GB, free: 14.89 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.5208, allocations: 9.251 MB / 0.5788 GB, free: 2.145 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/0.5283, allocations: 11.1 MB / 0.5896 GB, free: 4.285 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.561e-05/0.5284, allocations: 56 kB / 0.5897 GB, free: 4.23 MB / 426.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.007833/0.5363, allocations: 7.237 MB / 0.5967 GB, free: 13.65 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.5363, allocations: 93.97 kB / 0.5968 GB, free: 13.56 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.5365, allocations: 200 kB / 0.597 GB, free: 13.37 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.5366, allocations: 268 kB / 0.5973 GB, free: 13.11 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/0.5402, allocations: 2.192 MB / 0.5994 GB, free: 10.91 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002291/0.5405, allocations: 394.5 kB / 0.5998 GB, free: 10.52 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/0.5437, allocations: 422.1 kB / 0.6002 GB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/0.5441, allocations: 486.9 kB / 0.6007 GB, free: 9.641 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1201): * Single equations (assignments): 1198 * 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.002053/0.5461, allocations: 0.947 MB / 0.6016 GB, free: 8.688 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007255/0.5468, allocations: 0.5655 MB / 0.6021 GB, free: 8.121 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.5486, allocations: 1.571 MB / 0.6037 GB, free: 6.539 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.5486, allocations: 28 kB / 0.6037 GB, free: 6.512 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5486, allocations: 4 kB / 0.6037 GB, free: 6.508 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.5486, allocations: 15.95 kB / 0.6037 GB, free: 6.492 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/0.5583, allocations: 8.951 MB / 0.6125 GB, free: 13.89 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.5584, allocations: 32 kB / 0.6125 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/0.5594, allocations: 0.5194 MB / 0.613 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.852e-05/0.5594, allocations: 51.98 kB / 0.613 GB, free: 13.29 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.5595, allocations: 88 kB / 0.6131 GB, free: 13.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.981e-05/0.5595, allocations: 63.78 kB / 0.6132 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-05/0.5595, allocations: 51.75 kB / 0.6132 GB, free: 13.09 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.5624, allocations: 3.971 MB / 0.6171 GB, free: 8.48 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.563, allocations: 494.7 kB / 0.6176 GB, free: 8.004 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.5633, allocations: 95.88 kB / 0.6177 GB, free: 7.914 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/0.5642, allocations: 99.97 kB / 0.6178 GB, free: 7.816 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.5644, allocations: 279.8 kB / 0.618 GB, free: 7.543 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/0.5645, allocations: 102.2 kB / 0.6181 GB, free: 7.445 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001539/0.5661, allocations: 1.931 MB / 0.62 GB, free: 5.727 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5661, allocations: 0 / 0.62 GB, free: 5.727 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005008/0.5711, allocations: 1.543 MB / 0.6215 GB, free: 4.184 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * 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.0006067/0.5717, allocations: 284.5 kB / 0.6218 GB, free: 3.906 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006909/0.5786, allocations: 3.871 MB / 0.6256 GB, free: 172 kB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.5786, allocations: 4 kB / 0.6256 GB, free: 168 kB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5797, allocations: 0.7661 MB / 0.6263 GB, free: 15.42 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/0.5834, allocations: 0.6685 MB / 0.627 GB, free: 14.78 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.6021, allocations: 12.7 MB / 0.6394 GB, free: 1.469 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.604, allocations: 1.947 MB / 0.6413 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002062/0.606, allocations: 0.77 MB / 0.642 GB, free: 14.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.6072, allocations: 0.8769 MB / 0.6429 GB, free: 13.85 MB / 490.8 MB Notification: Performance of SimCode: time 2.364e-06/0.6072, allocations: 0 / 0.6429 GB, free: 13.85 MB / 490.8 MB Notification: Performance of Templates: time 0.1976/0.8048, allocations: 40.3 MB / 0.6823 GB, free: 165.9 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.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: 5.197240010369569]