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.001057/0.001057, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001378/0.001378, allocations: 166.1 kB / 24.82 MB, free: 9.258 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.074/1.074, allocations: 177 MB / 205.1 MB, free: 5.488 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.338/0.338, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.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 3.116e-06/3.116e-06, allocations: 4 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.506e-05, allocations: 2.312 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003885/0.003911, allocations: 4.028 MB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.005642, allocations: 1.16 MB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.005923, allocations: 19.88 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.006128, allocations: 103 kB / 384.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.006497, allocations: 217.9 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.006979, allocations: 239.4 kB / 385 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006815/0.007661, allocations: 0.8284 MB / 385.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.007936, allocations: 156.1 kB / 385.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.008466, allocations: 478.9 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.008728, allocations: 259.2 kB / 386.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.008798, allocations: 59.98 kB / 386.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.008942, allocations: 95.86 kB / 386.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.009354, allocations: 155.4 kB / 387 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.009511, allocations: 239.4 kB / 387.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.009993, allocations: 0.5526 MB / 387.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009997, allocations: 0 / 387.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.009999, allocations: 0 / 387.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.01001, allocations: 0 / 387.8 MB, free: 9.262 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.001054/0.01106, allocations: 1.056 MB / 388.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.01111, allocations: 8.031 kB / 388.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.01147, allocations: 184.4 kB / 389 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.01182, allocations: 374.3 kB / 389.4 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.01186, allocations: 41.69 kB / 389.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.01192, allocations: 76.25 kB / 389.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.01242, allocations: 483.3 kB / 390 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.01244, allocations: 12.14 kB / 390 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.01247, allocations: 27.94 kB / 390 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01248, allocations: 12 kB / 390 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.01277, allocations: 228.1 kB / 390.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.01443, allocations: 2.084 MB / 392.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.01495, allocations: 0.5007 MB / 392.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.01517, allocations: 183.2 kB / 393 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.495e-05/0.01526, allocations: 32.42 kB / 393 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.01529, allocations: 57.83 kB / 393.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.244e-06/0.0153, allocations: 0 / 393.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.003239/0.01854, allocations: 2.657 MB / 395.7 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.01861, allocations: 234.3 kB / 396 MB, free: 460 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.01886, allocations: 430.3 kB / 396.4 MB, free: 12 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.0189, allocations: 45.7 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.01905, allocations: 336.1 kB / 396.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.01925, allocations: 428.2 kB / 397.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.01942, allocations: 192.5 kB / 397.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.01959, allocations: 0.5662 MB / 397.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.01973, allocations: 114.5 kB / 398 MB, free: 14.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.02001, allocations: 378.5 kB / 398.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.02047, allocations: 0.5713 MB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02047, allocations: 0 / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0006273/0.0211, allocations: 0.671 MB / 399.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.02111, allocations: 4 kB / 399.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.02112, allocations: 12.5 kB / 399.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.02114, allocations: 12 kB / 399.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.02163, allocations: 275.7 kB / 399.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.02165, allocations: 15.88 kB / 400 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.02182, allocations: 39.98 kB / 400 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.02186, allocations: 32 kB / 400 MB, free: 12.14 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.0001738/0.02204, allocations: 228.2 kB / 400.3 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.02218, allocations: 111.5 kB / 400.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.02238, allocations: 175 kB / 400.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.02239, allocations: 16 kB / 400.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.0224, allocations: 3.938 kB / 400.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.02241, allocations: 7.984 kB / 400.6 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.02433, allocations: 1.9 MB / 402.5 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.02434, allocations: 4 kB / 402.5 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.02483, allocations: 243.7 kB / 402.7 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.02483, allocations: 8 kB / 402.7 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.02487, allocations: 20 kB / 402.7 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.02487, allocations: 11.98 kB / 402.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.02488, allocations: 7.938 kB / 402.8 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.02589, allocations: 1.693 MB / 404.4 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.02604, allocations: 127.4 kB / 404.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.02608, allocations: 27.98 kB / 404.6 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.02634, allocations: 24 kB / 404.6 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.02644, allocations: 96.38 kB / 404.7 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.02647, allocations: 27.98 kB / 404.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.0266, allocations: 259 kB / 405 MB, free: 7.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0266, allocations: 0 / 405 MB, free: 7.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.02715, allocations: 200 kB / 405.2 MB, free: 6.828 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.0001878/0.02734, allocations: 131.6 kB / 405.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.0279, allocations: 0.4977 MB / 405.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.02791, allocations: 0.875 kB / 405.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.02815, allocations: 293.7 kB / 406.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.02889, allocations: 158.3 kB / 406.3 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.03116, allocations: 1.853 MB / 408.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.0313, allocations: 185.2 kB / 408.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.03157, allocations: 94 kB / 408.4 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.03186, allocations: 226.1 kB / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.03186, allocations: 0 / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of Templates: time 0.01202/0.04388, allocations: 8.062 MB / 416.7 MB, free: 11.36 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.4601063090376556]