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.001357/0.001357, 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.001447/0.001447, allocations: 206.6 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2282/0.2282, allocations: 46.97 MB / 361.6 MB, free: 4.027 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.002132/0.002132, allocations: 63.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005462/0.3224, allocations: 3.758 MB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3248, allocations: 1.141 MB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.3251, allocations: 19.88 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.3254, allocations: 102.9 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.3258, allocations: 210.1 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.3264, allocations: 227.6 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008591/0.3273, allocations: 0.7978 MB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.3276, allocations: 171.7 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.328, allocations: 330.8 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.3285, allocations: 342.5 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3286, allocations: 60 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.3288, allocations: 91.94 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3289, allocations: 155.4 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.3292, allocations: 294.6 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009208/0.3301, allocations: 0.7923 MB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3301, allocations: 0 / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3301, allocations: 0 / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3302, allocations: 0 / 0.5701 GB, free: 11.66 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.002076/0.3322, allocations: 0.9525 MB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3323, allocations: 12.03 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.333, allocations: 148.3 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.3336, allocations: 364.2 kB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.3337, allocations: 45.69 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3338, allocations: 64.33 kB / 0.5716 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.335, allocations: 0.6271 MB / 0.5722 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.335, allocations: 7.953 kB / 0.5722 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.3351, allocations: 20 kB / 0.5722 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.3351, allocations: 16 kB / 0.5722 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3363, allocations: 0.5151 MB / 0.5727 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.3395, allocations: 1.918 MB / 0.5746 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.3409, allocations: 0.661 MB / 0.5753 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.3415, allocations: 319.1 kB / 0.5756 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3416, allocations: 16.42 kB / 0.5756 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.3417, allocations: 50.94 kB / 0.5756 GB, free: 5.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.916e-06/0.3417, allocations: 0 / 0.5756 GB, free: 5.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008299/0.35, allocations: 3.95 MB / 0.5795 GB, free: 1.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.3501, allocations: 226.2 kB / 0.5797 GB, free: 1.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.3506, allocations: 397.8 kB / 0.5801 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.3506, allocations: 45.7 kB / 0.5801 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3509, allocations: 273.5 kB / 0.5804 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.3512, allocations: 436.2 kB / 0.5808 GB, free: 96 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.3515, allocations: 179 kB / 0.581 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3517, allocations: 386.8 kB / 0.5813 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.3523, allocations: 306.5 kB / 0.5816 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008237/0.3532, allocations: 0.5004 MB / 0.5821 GB, free: 14.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.3546, allocations: 0.8511 MB / 0.583 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3546, allocations: 4.562 kB / 0.583 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001886/0.3565, allocations: 1.004 MB / 0.5839 GB, free: 12.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3566, allocations: 7.938 kB / 0.584 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3566, allocations: 8 kB / 0.584 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3566, allocations: 8 kB / 0.584 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.3577, allocations: 283.6 kB / 0.5842 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.3578, allocations: 11.98 kB / 0.5842 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.3582, allocations: 40.2 kB / 0.5843 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.3583, allocations: 47.98 kB / 0.5843 GB, free: 12.32 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.0003623/0.3587, allocations: 233.5 kB / 0.5846 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.3589, allocations: 87.41 kB / 0.5846 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.3594, allocations: 219 kB / 0.5848 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.3594, allocations: 12 kB / 0.5849 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3594, allocations: 4 kB / 0.5849 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3595, allocations: 3.984 kB / 0.5849 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.3632, allocations: 2.063 MB / 0.5869 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3632, allocations: 4 kB / 0.5869 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.3644, allocations: 243.7 kB / 0.5871 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.3644, allocations: 8 kB / 0.5871 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.3644, allocations: 36.05 kB / 0.5872 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.3645, allocations: 15.88 kB / 0.5872 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3645, allocations: 4 kB / 0.5872 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.3672, allocations: 1.88 MB / 0.589 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.3675, allocations: 135.4 kB / 0.5891 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3676, allocations: 24 kB / 0.5892 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.3683, allocations: 48.05 kB / 0.5892 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.3684, allocations: 88.42 kB / 0.5893 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.3685, allocations: 36 kB / 0.5893 GB, free: 7.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.3688, allocations: 267.1 kB / 0.5896 GB, free: 6.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 4 kB / 0.5896 GB, free: 6.812 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008982/0.3697, allocations: 192 kB / 0.5898 GB, free: 6.625 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.0002053/0.3699, allocations: 139.7 kB / 0.5899 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.3715, allocations: 0.7961 MB / 0.5907 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3715, allocations: 4.875 kB / 0.5907 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.3724, allocations: 467.3 kB / 0.5911 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.3737, allocations: 130.1 kB / 0.5913 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.3775, allocations: 2.236 MB / 0.5934 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3779, allocations: 357.1 kB / 0.5938 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00048/0.3784, allocations: 102 kB / 0.5939 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.3786, allocations: 67.42 kB / 0.5939 GB, free: 2.242 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3786, allocations: 0 / 0.5939 GB, free: 2.242 MB / 430.1 MB Notification: Performance of Templates: time 0.01658/0.3951, allocations: 8.505 MB / 0.6022 GB, free: 9.848 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 gbode -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.223509503994137]