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.001714/0.001714, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002179/0.002179, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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.602/1.602, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.242/0.242, allocations: 46.93 MB / 360.8 MB, free: 3.922 MB / 286.1 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 0.002391/0.002391, allocations: 79.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3732, allocations: 66.08 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006216/0.3794, allocations: 3.768 MB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.3819, allocations: 1.137 MB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.3822, allocations: 19.88 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3825, allocations: 110.9 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.383, allocations: 206.1 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.3836, allocations: 227.5 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009402/0.3846, allocations: 0.7978 MB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3849, allocations: 154.8 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.3854, allocations: 330.9 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.3859, allocations: 314.4 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.386, allocations: 56 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.3862, allocations: 99.92 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3863, allocations: 147.4 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.3866, allocations: 294.6 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009655/0.3876, allocations: 0.7931 MB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3876, allocations: 0 / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.17e-06/0.3876, allocations: 4 kB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3876, allocations: 0 / 0.5694 GB, free: 11.51 MB / 414.1 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.002067/0.3897, allocations: 0.9565 MB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3897, allocations: 11.97 kB / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.3904, allocations: 148.3 kB / 0.5705 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.3911, allocations: 368.1 kB / 0.5708 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.3911, allocations: 45.69 kB / 0.5709 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3913, allocations: 64.33 kB / 0.5709 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.3924, allocations: 0.6154 MB / 0.5715 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.3925, allocations: 19.88 kB / 0.5715 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.3925, allocations: 27.98 kB / 0.5716 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.3925, allocations: 12 kB / 0.5716 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3936, allocations: 0.5074 MB / 0.5721 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.3968, allocations: 1.918 MB / 0.5739 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3981, allocations: 0.6493 MB / 0.5746 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.3987, allocations: 315.1 kB / 0.5749 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.3988, allocations: 28.42 kB / 0.5749 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.3989, allocations: 59.23 kB / 0.575 GB, free: 5.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/0.3989, allocations: 0 / 0.575 GB, free: 5.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.00834/0.4072, allocations: 3.935 MB / 0.5788 GB, free: 1.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.4074, allocations: 222.3 kB / 0.579 GB, free: 1.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.4079, allocations: 397.8 kB / 0.5794 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.4079, allocations: 45.77 kB / 0.5794 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.4082, allocations: 285.5 kB / 0.5797 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.4085, allocations: 432.4 kB / 0.5801 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.4088, allocations: 179 kB / 0.5803 GB, free: 15.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.409, allocations: 378.8 kB / 0.5807 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.4097, allocations: 314.4 kB / 0.581 GB, free: 15.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/0.4107, allocations: 0.4965 MB / 0.5814 GB, free: 14.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.4123, allocations: 0.851 MB / 0.5823 GB, free: 13.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4123, allocations: 4 kB / 0.5823 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001952/0.4142, allocations: 1 MB / 0.5833 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.4143, allocations: 12.19 kB / 0.5833 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4143, allocations: 8 kB / 0.5833 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/0.4143, allocations: 12 kB / 0.5833 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4154, allocations: 275.6 kB / 0.5835 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/0.4154, allocations: 17.42 kB / 0.5836 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.4159, allocations: 43.97 kB / 0.5836 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/0.416, allocations: 40 kB / 0.5836 GB, free: 12.18 MB / 430.1 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.0003545/0.4163, allocations: 229.5 kB / 0.5839 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.4166, allocations: 95.45 kB / 0.584 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.417, allocations: 219 kB / 0.5842 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.4171, allocations: 12 kB / 0.5842 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.4171, allocations: 0 / 0.5842 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.4171, allocations: 11.97 kB / 0.5842 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.4213, allocations: 2.052 MB / 0.5862 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.4213, allocations: 4 kB / 0.5862 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.4224, allocations: 251.9 kB / 0.5864 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/0.4224, allocations: 8 kB / 0.5864 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.4225, allocations: 35.92 kB / 0.5865 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/0.4225, allocations: 12.06 kB / 0.5865 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4225, allocations: 4 kB / 0.5865 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.4253, allocations: 1.887 MB / 0.5883 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4256, allocations: 127.4 kB / 0.5885 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4257, allocations: 35.92 kB / 0.5885 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/0.4264, allocations: 35.98 kB / 0.5885 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.4265, allocations: 88.48 kB / 0.5886 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.4266, allocations: 39.92 kB / 0.5886 GB, free: 6.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.4269, allocations: 275.1 kB / 0.5889 GB, free: 6.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4269, allocations: 0 / 0.5889 GB, free: 6.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009019/0.4278, allocations: 196 kB / 0.5891 GB, free: 6.469 MB / 430.1 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.0002155/0.428, allocations: 135.1 kB / 0.5892 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.4297, allocations: 0.8022 MB / 0.59 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/0.4297, allocations: 0 / 0.59 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008753/0.4305, allocations: 460.6 kB / 0.5904 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.4318, allocations: 133.2 kB / 0.5906 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.4357, allocations: 2.232 MB / 0.5928 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4362, allocations: 357.1 kB / 0.5931 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.4366, allocations: 106 kB / 0.5932 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4368, allocations: 67.42 kB / 0.5933 GB, free: 2.094 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4368, allocations: 0 / 0.5933 GB, free: 2.094 MB / 430.1 MB Notification: Performance of Templates: time 0.01733/0.4542, allocations: 8.204 MB / 0.6013 GB, free: 9.996 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",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.66993672773242]