Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.001117/0.001117, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009769/0.0009769, allocations: 156.4 kB / 24.98 MB, free: 8.75 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 1.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.59 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.302/0.302, allocations: 34.87 MB / 296.6 MB, free: 496 kB / 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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.778e-05, allocations: 7.156 kB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004842/0.00488, allocations: 4.073 MB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.007509, allocations: 1.16 MB / 384 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.008278, allocations: 19.88 kB / 384 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.00861, allocations: 102.9 kB / 384.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006386/0.009248, allocations: 217.9 kB / 384.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.01007, allocations: 239.4 kB / 384.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.01118, allocations: 0.8245 MB / 385.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.01157, allocations: 160.1 kB / 385.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.01238, allocations: 470.9 kB / 386 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.01274, allocations: 267.2 kB / 386.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.01282, allocations: 56 kB / 386.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.01302, allocations: 91.91 kB / 386.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.01313, allocations: 151.4 kB / 386.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.01338, allocations: 243.4 kB / 386.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.01425, allocations: 0.5642 MB / 387.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.01426, allocations: 0 / 387.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01426, allocations: 0 / 387.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.01428, allocations: 0 / 387.3 MB, free: 9.773 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001697/0.01598, allocations: 1.041 MB / 388.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.01602, allocations: 12.03 kB / 388.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.01648, allocations: 184.4 kB / 388.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.01698, allocations: 374.2 kB / 388.9 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.01702, allocations: 45.69 kB / 389 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.01711, allocations: 68.28 kB / 389 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.01788, allocations: 0.511 MB / 389.5 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.01791, allocations: 8.141 kB / 389.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.01796, allocations: 31.94 kB / 389.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.01797, allocations: 12 kB / 389.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.01847, allocations: 269.6 kB / 389.9 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.02072, allocations: 2.154 MB / 392 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.02153, allocations: 0.5357 MB / 392.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.0218, allocations: 207.2 kB / 392.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.02191, allocations: 24.42 kB / 392.8 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.02195, allocations: 53.83 kB / 392.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.326e-06/0.02195, allocations: 0 / 392.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.004569/0.02652, allocations: 3.336 MB / 396.2 MB, free: 380 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.02661, allocations: 222.2 kB / 396.4 MB, free: 108 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.02695, allocations: 438.5 kB / 396.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.027, allocations: 49.64 kB / 396.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.02716, allocations: 332.2 kB / 397.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.02739, allocations: 420.3 kB / 397.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.02757, allocations: 188.6 kB / 397.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.02774, allocations: 0.5547 MB / 398.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.02802, allocations: 154.6 kB / 398.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.02839, allocations: 414.7 kB / 398.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.02908, allocations: 0.6232 MB / 399.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.02908, allocations: 4 kB / 399.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009555/0.03004, allocations: 0.7458 MB / 400.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.03006, allocations: 11.12 kB / 400.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.03007, allocations: 4 kB / 400.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.0301, allocations: 15.94 kB / 400.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.0307, allocations: 271.6 kB / 400.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.03071, allocations: 19.92 kB / 400.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.03096, allocations: 35.98 kB / 400.6 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.03101, allocations: 36 kB / 400.6 MB, free: 11.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * 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.0002134/0.03122, allocations: 228.3 kB / 400.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.0314, allocations: 115.5 kB / 401 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.03166, allocations: 175 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.03167, allocations: 15.94 kB / 401.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.03168, allocations: 7.984 kB / 401.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.03169, allocations: 3.984 kB / 401.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.03433, allocations: 2.028 MB / 403.2 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.03434, allocations: 7.984 kB / 403.2 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.03496, allocations: 243.6 kB / 403.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.03497, allocations: 4 kB / 403.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.03502, allocations: 31.98 kB / 403.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.03503, allocations: 12.28 kB / 403.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.03504, allocations: 8 kB / 403.5 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.0366, allocations: 1.774 MB / 405.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.03686, allocations: 127.4 kB / 405.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.03693, allocations: 24 kB / 405.4 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.03731, allocations: 35.98 kB / 405.5 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.03749, allocations: 96.38 kB / 405.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.03753, allocations: 35.98 kB / 405.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.03778, allocations: 275.1 kB / 405.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03778, allocations: 0 / 405.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.03852, allocations: 196 kB / 406.1 MB, free: 6.031 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * 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.0002048/0.03873, allocations: 139.5 kB / 406.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.03961, allocations: 0.5532 MB / 406.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.03961, allocations: 0 / 406.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.04001, allocations: 317.6 kB / 407.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.041, allocations: 160.6 kB / 407.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.04385, allocations: 1.869 MB / 409.1 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.04403, allocations: 177.2 kB / 409.3 MB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000741/0.04477, allocations: 98 kB / 409.4 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.04493, allocations: 68.48 kB / 409.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of SimCode: time 3.055e-06/0.04493, allocations: 0 / 409.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of Templates: time 0.01245/0.05739, allocations: 7.349 MB / 416.8 MB, free: 11.29 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.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: 3.563434915151447]