Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 107.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 206.9 kB / 23.73 MB, free: 4.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2478/0.2478, allocations: 46.95 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 75.83 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005874/0.3379, allocations: 3.758 MB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3404, allocations: 1.141 MB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.3407, allocations: 19.88 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.341, allocations: 102.9 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.3414, allocations: 210.1 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.342, allocations: 231.6 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.3429, allocations: 0.79 MB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.3433, allocations: 179.7 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.3437, allocations: 326.8 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.3442, allocations: 350.4 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.3443, allocations: 56 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3445, allocations: 95.92 kB / 0.5681 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3447, allocations: 151.4 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.345, allocations: 290.6 kB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000917/0.3459, allocations: 0.7961 MB / 0.5693 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3459, allocations: 0 / 0.5693 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3459, allocations: 0 / 0.5693 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3459, allocations: 0 / 0.5693 GB, free: 11.69 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.001948/0.3478, allocations: 0.9565 MB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3479, allocations: 12.03 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.3486, allocations: 148.3 kB / 0.5704 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.3492, allocations: 360.2 kB / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.3492, allocations: 45.62 kB / 0.5708 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3493, allocations: 68.33 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.3505, allocations: 0.6193 MB / 0.5715 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.3505, allocations: 11.94 kB / 0.5715 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.3506, allocations: 28 kB / 0.5715 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.3506, allocations: 12 kB / 0.5715 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.3517, allocations: 0.514 MB / 0.572 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.3549, allocations: 1.915 MB / 0.5739 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3562, allocations: 0.6532 MB / 0.5745 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.3568, allocations: 315.1 kB / 0.5748 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.3569, allocations: 28.42 kB / 0.5749 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.357, allocations: 46.88 kB / 0.5749 GB, free: 5.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.605e-06/0.357, allocations: 0 / 0.5749 GB, free: 5.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008071/0.3651, allocations: 3.942 MB / 0.5787 GB, free: 1.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.3652, allocations: 230.1 kB / 0.579 GB, free: 1.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.3657, allocations: 393.8 kB / 0.5793 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.3658, allocations: 45.7 kB / 0.5794 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.366, allocations: 285.6 kB / 0.5797 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.3664, allocations: 432.2 kB / 0.5801 GB, free: 132 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.3667, allocations: 175 kB / 0.5802 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3669, allocations: 382.8 kB / 0.5806 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.3675, allocations: 310.4 kB / 0.5809 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/0.3684, allocations: 0.4965 MB / 0.5814 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.3699, allocations: 0.8585 MB / 0.5822 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/0.3699, allocations: 4 kB / 0.5822 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001838/0.3717, allocations: 1.004 MB / 0.5832 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3718, allocations: 12.03 kB / 0.5832 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3718, allocations: 8.375 kB / 0.5832 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/0.3718, allocations: 16 kB / 0.5832 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3729, allocations: 275.6 kB / 0.5835 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.3729, allocations: 8 kB / 0.5835 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.3733, allocations: 47.97 kB / 0.5836 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.3734, allocations: 40 kB / 0.5836 GB, free: 12.36 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.000356/0.3738, allocations: 233.5 kB / 0.5838 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.374, allocations: 83.47 kB / 0.5839 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.3744, allocations: 222.9 kB / 0.5841 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.3745, allocations: 19.98 kB / 0.5841 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3745, allocations: 0 / 0.5841 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3745, allocations: 7.984 kB / 0.5841 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/0.3783, allocations: 2.055 MB / 0.5861 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.3783, allocations: 4 kB / 0.5861 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.3793, allocations: 248 kB / 0.5864 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/0.3793, allocations: 8.141 kB / 0.5864 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.3794, allocations: 31.98 kB / 0.5864 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.3794, allocations: 15.88 kB / 0.5864 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3794, allocations: 7.984 kB / 0.5864 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.3822, allocations: 1.882 MB / 0.5883 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.3825, allocations: 127.6 kB / 0.5884 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.3826, allocations: 28 kB / 0.5884 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.3832, allocations: 43.86 kB / 0.5885 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.3834, allocations: 88.44 kB / 0.5886 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.3834, allocations: 35.98 kB / 0.5886 GB, free: 7.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.3838, allocations: 275.1 kB / 0.5889 GB, free: 6.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 0 / 0.5889 GB, free: 6.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008976/0.3847, allocations: 192 kB / 0.589 GB, free: 6.66 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.000212/0.3849, allocations: 143.6 kB / 0.5892 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3865, allocations: 0.7887 MB / 0.5899 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3865, allocations: 0 / 0.5899 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008393/0.3873, allocations: 456.5 kB / 0.5904 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3886, allocations: 147 kB / 0.5905 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.3924, allocations: 2.236 MB / 0.5927 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.3929, allocations: 365.1 kB / 0.5931 GB, free: 2.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004128/0.3933, allocations: 98 kB / 0.5931 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3935, allocations: 67.42 kB / 0.5932 GB, free: 2.277 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3935, allocations: 0 / 0.5932 GB, free: 2.277 MB / 430.1 MB Notification: Performance of Templates: time 0.01705/0.4105, allocations: 8.507 MB / 0.6015 GB, free: 9.883 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.49866707297042]