Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007631/0.0007631, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008957/0.0008957, allocations: 161 kB / 24.91 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.992/0.992, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2738/0.2738, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.974e-05, allocations: 3.078 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01075/0.01077, allocations: 15.14 MB / 341.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008229/0.01899, allocations: 5.081 MB / 346.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.02001, allocations: 119.4 kB / 346.3 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004722/0.02473, allocations: 5.541 MB / 351.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.02819, allocations: 2.651 MB / 354.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.02976, allocations: 1.322 MB / 355.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005224/0.03498, allocations: 7.699 MB / 363.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.03969, allocations: 6.102 MB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.04366, allocations: 4.105 MB / 373.7 MB, free: 7.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.04716, allocations: 3.815 MB / 377.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008058/0.04797, allocations: 0.5703 MB / 378.1 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.04949, allocations: 1.229 MB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.05146, allocations: 3.448 MB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.05338, allocations: 2.181 MB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005249/0.05863, allocations: 7.142 MB / 392.1 MB, free: 4.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.05864, allocations: 3.984 kB / 392.1 MB, free: 4.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05864, allocations: 4 kB / 392.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000141/0.05878, allocations: 4 kB / 392.1 MB, free: 4.73 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.006472/0.06525, allocations: 7.113 MB / 399.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.06529, allocations: 8.031 kB / 399.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/0.06922, allocations: 1.772 MB / 401 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.07218, allocations: 2.737 MB / 403.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.07237, allocations: 423.3 kB / 404.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.07293, allocations: 0.5508 MB / 404.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.08296, allocations: 8.828 MB / 413.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.08307, allocations: 67.38 kB / 413.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/0.08346, allocations: 271.8 kB / 413.8 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.0857, allocations: 2.779 MB / 416.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008665/0.09437, allocations: 4.51 MB / 421.1 MB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1955/0.2899, allocations: 49.93 MB / 471 MB, free: 69.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/0.2958, allocations: 3.301 MB / 474.3 MB, free: 69.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.2965, allocations: 0.6551 MB / 475 MB, free: 69.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005742/0.3022, allocations: 5.066 MB / 480.1 MB, free: 68.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3023, allocations: 66.62 kB / 480.1 MB, free: 68.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 4.078e-06/0.3023, allocations: 0 / 480.1 MB, free: 68.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.01915/0.3214, allocations: 10.34 MB / 490.5 MB, free: 62.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3215, allocations: 158.5 kB / 490.6 MB, free: 62.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.3242, allocations: 4.469 MB / 495.1 MB, free: 59.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/0.3243, allocations: 69.7 kB / 495.2 MB, free: 59.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.3254, allocations: 4.807 MB / 500 MB, free: 54.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.3258, allocations: 1.154 MB / 0.4894 GB, free: 53.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.3268, allocations: 1.756 MB / 0.4911 GB, free: 51.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.356e-05/0.3268, allocations: 301.1 kB / 0.4914 GB, free: 51.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.3282, allocations: 1.089 MB / 0.4924 GB, free: 49.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.3306, allocations: 6.577 MB / 0.4989 GB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.3353, allocations: 8.548 MB / 0.5072 GB, free: 29.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.175e-05/0.3354, allocations: 56 kB / 0.5073 GB, free: 29.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.005168/0.3405, allocations: 6.126 MB / 0.5132 GB, free: 23.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.3406, allocations: 88 kB / 0.5133 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.3407, allocations: 203.9 kB / 0.5135 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.3408, allocations: 275 kB / 0.5138 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.3442, allocations: 2.187 MB / 0.5159 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001928/0.3444, allocations: 390.5 kB / 0.5163 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.3472, allocations: 427.6 kB / 0.5167 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/0.3475, allocations: 491 kB / 0.5172 GB, free: 19.57 MB / 410.7 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.001522/0.3491, allocations: 0.901 MB / 0.5181 GB, free: 18.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.3494, allocations: 339.6 kB / 0.5184 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.3506, allocations: 1.314 MB / 0.5197 GB, free: 16.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.3506, allocations: 32 kB / 0.5197 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3506, allocations: 0 / 0.5197 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.3507, allocations: 11.95 kB / 0.5197 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/0.3574, allocations: 7.781 MB / 0.5273 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.3574, allocations: 32 kB / 0.5273 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.3585, allocations: 0.5188 MB / 0.5278 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/0.3586, allocations: 47.98 kB / 0.5279 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.008e-05/0.3587, allocations: 88 kB / 0.528 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.75e-05/0.3587, allocations: 63.78 kB / 0.528 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-05/0.3587, allocations: 51.75 kB / 0.5281 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3606, allocations: 3.406 MB / 0.5314 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.361, allocations: 484.5 kB / 0.5319 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.3613, allocations: 97.28 kB / 0.532 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/0.3621, allocations: 95.97 kB / 0.5321 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3623, allocations: 283.8 kB / 0.5323 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.3624, allocations: 96 kB / 0.5324 GB, free: 2.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.3636, allocations: 1.847 MB / 0.5342 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 0.5342 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00392/0.3675, allocations: 1.555 MB / 0.5357 GB, free: 15.31 MB / 426.7 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.0003752/0.3679, allocations: 254.2 kB / 0.536 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.3713, allocations: 3.609 MB / 0.5395 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00018/0.3715, allocations: 120.2 kB / 0.5396 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.3721, allocations: 0.713 MB / 0.5403 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.374, allocations: 0.6848 MB / 0.541 GB, free: 9.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.3875, allocations: 12.59 MB / 0.5533 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.3891, allocations: 1.943 MB / 0.5552 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001834/0.3909, allocations: 0.7666 MB / 0.5559 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.392, allocations: 0.8252 MB / 0.5567 GB, free: 9.285 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.392, allocations: 4 kB / 0.5567 GB, free: 9.281 MB / 442.7 MB Notification: Performance of Templates: time 0.05929/0.4513, allocations: 39.29 MB / 0.5951 GB, free: 2.445 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.445108167827129]