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.001348/0.001348, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001404/0.001404, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2374/0.2374, allocations: 46.95 MB / 361.6 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 180] 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.002792/0.002792, allocations: 68.14 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3616, allocations: 66.04 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005934/0.3675, allocations: 3.762 MB / 0.5655 GB, free: 452 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3697, allocations: 1.145 MB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.37, allocations: 19.88 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.3703, allocations: 102.9 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3707, allocations: 206.1 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.3713, allocations: 227.6 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.3722, allocations: 0.7978 MB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.3725, allocations: 174.7 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.373, allocations: 322.9 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.3734, allocations: 350.4 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.3735, allocations: 60 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.3737, allocations: 95.92 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.3738, allocations: 143.5 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.3741, allocations: 298.6 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008599/0.3749, allocations: 0.7932 MB / 0.5701 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3749, allocations: 7.984 kB / 0.5701 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3749, allocations: 0 / 0.5701 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.375, allocations: 0 / 0.5701 GB, free: 11.73 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.002/0.377, allocations: 0.9487 MB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.377, allocations: 11.97 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000695/0.3777, allocations: 148.3 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.3783, allocations: 364.2 kB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.3784, allocations: 41.69 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3785, allocations: 72.31 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.3797, allocations: 0.6193 MB / 0.5722 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.3797, allocations: 11.94 kB / 0.5722 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.3797, allocations: 24 kB / 0.5722 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.3798, allocations: 16 kB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3809, allocations: 0.5112 MB / 0.5728 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.384, allocations: 1.915 MB / 0.5746 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.3853, allocations: 0.6571 MB / 0.5753 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.3859, allocations: 323.1 kB / 0.5756 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.386, allocations: 16.42 kB / 0.5756 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.386, allocations: 50.94 kB / 0.5756 GB, free: 5.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/0.386, allocations: 0 / 0.5756 GB, free: 5.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.007957/0.394, allocations: 3.95 MB / 0.5795 GB, free: 1.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.3941, allocations: 222.2 kB / 0.5797 GB, free: 1.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.3946, allocations: 397.8 kB / 0.5801 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.3946, allocations: 45.7 kB / 0.5801 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.3949, allocations: 277.5 kB / 0.5804 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.3952, allocations: 436.2 kB / 0.5808 GB, free: 172 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.3955, allocations: 175 kB / 0.581 GB, free: 15.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3957, allocations: 386.8 kB / 0.5813 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.3963, allocations: 302.5 kB / 0.5816 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.3971, allocations: 0.5043 MB / 0.5821 GB, free: 14.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.3986, allocations: 0.8516 MB / 0.583 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3986, allocations: 4 kB / 0.583 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00182/0.4004, allocations: 1.008 MB / 0.5839 GB, free: 12.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4004, allocations: 7.938 kB / 0.584 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.4004, allocations: 8 kB / 0.584 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4005, allocations: 8 kB / 0.584 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4015, allocations: 279.6 kB / 0.5842 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.4015, allocations: 11.98 kB / 0.5842 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.4019, allocations: 39.98 kB / 0.5843 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.402, allocations: 52.14 kB / 0.5843 GB, free: 12.39 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.0003194/0.4023, allocations: 229.5 kB / 0.5846 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.4026, allocations: 79.47 kB / 0.5846 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.403, allocations: 227.2 kB / 0.5848 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4031, allocations: 12 kB / 0.5849 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4031, allocations: 4 kB / 0.5849 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.4031, allocations: 3.984 kB / 0.5849 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.4067, allocations: 2.071 MB / 0.5869 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4067, allocations: 4 kB / 0.5869 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.4077, allocations: 243.7 kB / 0.5871 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.4078, allocations: 8 kB / 0.5871 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.4078, allocations: 31.98 kB / 0.5872 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.4078, allocations: 11.88 kB / 0.5872 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4078, allocations: 8 kB / 0.5872 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.4104, allocations: 1.887 MB / 0.589 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.4107, allocations: 127.4 kB / 0.5891 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.4108, allocations: 24 kB / 0.5892 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.4114, allocations: 51.91 kB / 0.5892 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.4116, allocations: 84.5 kB / 0.5893 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.4116, allocations: 36 kB / 0.5893 GB, free: 7.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.4119, allocations: 267.1 kB / 0.5896 GB, free: 6.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4119, allocations: 4 kB / 0.5896 GB, free: 6.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000847/0.4128, allocations: 196 kB / 0.5898 GB, free: 6.695 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.0002033/0.413, allocations: 139.7 kB / 0.5899 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.4145, allocations: 0.7961 MB / 0.5907 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4145, allocations: 4.875 kB / 0.5907 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008567/0.4154, allocations: 459.5 kB / 0.5911 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4166, allocations: 137.1 kB / 0.5913 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.4202, allocations: 2.236 MB / 0.5934 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.4206, allocations: 357.1 kB / 0.5938 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.421, allocations: 106 kB / 0.5939 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.4212, allocations: 67.42 kB / 0.594 GB, free: 2.312 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4212, allocations: 4 kB / 0.594 GB, free: 2.309 MB / 430.1 MB Notification: Performance of Templates: time 0.01606/0.4372, allocations: 8.497 MB / 0.6023 GB, free: 9.922 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/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.2261785570008215]