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.001002/0.001002, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001327/0.001327, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9372/0.9372, allocations: 177 MB / 205.2 MB, free: 5.039 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.2652/0.2652, allocations: 34.86 MB / 296.6 MB, free: 468 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.433e-06/1.433e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.442e-05, allocations: 3.406 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003668/0.003692, allocations: 4.042 MB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.00579, allocations: 1.192 MB / 331.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.006146, allocations: 27.81 kB / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.006383, allocations: 98.95 kB / 331.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.006801, allocations: 217.9 kB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.00733, allocations: 239.4 kB / 331.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.008035, allocations: 0.83 MB / 332.5 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.008259, allocations: 166 kB / 332.7 MB, free: 376 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.00872, allocations: 474.9 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.009022, allocations: 263.2 kB / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.009092, allocations: 56 kB / 333.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.009237, allocations: 95.86 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.009337, allocations: 155.4 kB / 333.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.009517, allocations: 247.4 kB / 333.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.009995, allocations: 0.5526 MB / 334.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.009997, allocations: 0 / 334.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009998, allocations: 0 / 334.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01, allocations: 4 kB / 334.5 MB, free: 14.54 MB / 314.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.001061/0.01107, allocations: 0.9211 MB / 335.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.0111, allocations: 8.031 kB / 335.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.01143, allocations: 156.8 kB / 335.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.01178, allocations: 319.5 kB / 335.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.01182, allocations: 45.69 kB / 335.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.01189, allocations: 68.31 kB / 336 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.01236, allocations: 483.3 kB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.01238, allocations: 8.141 kB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.01241, allocations: 27.94 kB / 336.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01242, allocations: 16 kB / 336.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.01269, allocations: 198.3 kB / 336.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.01418, allocations: 1.59 MB / 338.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.01465, allocations: 439.7 kB / 338.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.01479, allocations: 151.5 kB / 338.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-05/0.01486, allocations: 24.5 kB / 338.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.01489, allocations: 54.98 kB / 339 MB, free: 9.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.0149, allocations: 0 / 339 MB, free: 9.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.003182/0.01808, allocations: 2.767 MB / 341.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.01817, allocations: 218.3 kB / 341.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.01837, allocations: 359.2 kB / 342.3 MB, free: 6.242 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.01841, allocations: 45.7 kB / 342.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.0185, allocations: 234.3 kB / 342.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.01871, allocations: 436.2 kB / 343 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.01886, allocations: 186.8 kB / 343.2 MB, free: 5.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01897, allocations: 390.5 kB / 343.6 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.01909, allocations: 102.5 kB / 343.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.0193, allocations: 304.5 kB / 344 MB, free: 4.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.01971, allocations: 0.4962 MB / 344.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.01971, allocations: 4 kB / 344.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005259/0.02024, allocations: 0.5182 MB / 345 MB, free: 3.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.02026, allocations: 6.156 kB / 345 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.02027, allocations: 12 kB / 345 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.02029, allocations: 8 kB / 345 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.02077, allocations: 275.6 kB / 345.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.02078, allocations: 15.88 kB / 345.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.02096, allocations: 35.98 kB / 345.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.02099, allocations: 31.98 kB / 345.3 MB, free: 3.02 MB / 314.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.000149/0.02114, allocations: 180.4 kB / 345.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.02127, allocations: 87.92 kB / 345.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.02144, allocations: 159 kB / 345.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.02145, allocations: 15.94 kB / 345.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.02146, allocations: 4 kB / 345.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.02147, allocations: 7.922 kB / 345.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.02305, allocations: 1.424 MB / 347.2 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.02306, allocations: 4.062 kB / 347.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.02358, allocations: 243.7 kB / 347.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.02359, allocations: 8 kB / 347.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.02363, allocations: 27.98 kB / 347.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.02364, allocations: 8 kB / 347.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.02364, allocations: 7.938 kB / 347.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.02458, allocations: 1.229 MB / 348.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.02474, allocations: 75.52 kB / 348.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.02479, allocations: 27.98 kB / 348.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.02507, allocations: 32 kB / 348.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.02518, allocations: 92.31 kB / 349 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.02521, allocations: 27.98 kB / 349 MB, free: 15.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.02533, allocations: 152.7 kB / 349.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02533, allocations: 4 kB / 349.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006068/0.02594, allocations: 192 kB / 349.3 MB, free: 14.91 MB / 330.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.0001854/0.02612, allocations: 116.7 kB / 349.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.02674, allocations: 475.9 kB / 349.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.02675, allocations: 8 kB / 349.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.02701, allocations: 279.1 kB / 350.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.02778, allocations: 149.8 kB / 350.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.02981, allocations: 1.522 MB / 351.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.02996, allocations: 177.2 kB / 352 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.03022, allocations: 90.58 kB / 352.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.03052, allocations: 197.3 kB / 352.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.03053, allocations: 4 kB / 352.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01305/0.04358, allocations: 7.86 MB / 360.2 MB, free: 4.121 MB / 330.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.1034161960706115]