Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.00166/0.00166, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002039/0.002039, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.596/1.596, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2346/0.2346, allocations: 46.89 MB / 361.1 MB, free: 4.617 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-beta.om/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.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 83.86 kB / 0.4969 GB, free: 8.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3234, allocations: 65.97 MB / 0.5613 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002508/0.3259, allocations: 1.739 MB / 0.563 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3272, allocations: 1.046 MB / 0.564 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.3272, allocations: 0 / 0.564 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.3275, allocations: 42.33 kB / 0.564 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.3277, allocations: 100.4 kB / 0.5641 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.3279, allocations: 81.59 kB / 0.5642 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.328, allocations: 103.1 kB / 0.5643 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.728e-05/0.3281, allocations: 7.094 kB / 0.5643 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.3281, allocations: 48.28 kB / 0.5644 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.3282, allocations: 35.73 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3282, allocations: 6.125 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.3283, allocations: 42.5 kB / 0.5644 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.3283, allocations: 21.42 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.3284, allocations: 40.69 kB / 0.5645 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3285, allocations: 120.8 kB / 0.5646 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3285, allocations: 3.281 kB / 0.5646 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3285, allocations: 0 / 0.5646 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3285, allocations: 0 / 0.5646 GB, free: 32.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004135/0.329, allocations: 424 kB / 0.565 GB, free: 31.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.329, allocations: 8.969 kB / 0.565 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.329, allocations: 11.3 kB / 0.565 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3292, allocations: 219.8 kB / 0.5652 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3292, allocations: 3.469 kB / 0.5653 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3292, allocations: 7.359 kB / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3294, allocations: 64.73 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3294, allocations: 0.5 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3294, allocations: 2.094 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3294, allocations: 3.234 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.3295, allocations: 19.84 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.3297, allocations: 282.1 kB / 0.5656 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3299, allocations: 62 kB / 0.5657 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.3299, allocations: 17.92 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3299, allocations: 3.375 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.33, allocations: 66.39 kB / 0.5658 GB, free: 31.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.33, allocations: 0 / 0.5658 GB, free: 31.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004539/0.3305, allocations: 177.9 kB / 0.5659 GB, free: 31.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.3305, allocations: 51.41 kB / 0.566 GB, free: 31.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3307, allocations: 197.1 kB / 0.5662 GB, free: 30.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3307, allocations: 28.36 kB / 0.5662 GB, free: 30.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.3307, allocations: 102.3 kB / 0.5663 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3307, allocations: 30.7 kB / 0.5663 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.3308, allocations: 25.66 kB / 0.5663 GB, free: 30.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.3308, allocations: 325.5 kB / 0.5667 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.3309, allocations: 29.27 kB / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.3309, allocations: 37 kB / 0.5667 GB, free: 30.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.445e-05/0.331, allocations: 61.48 kB / 0.5668 GB, free: 30.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.331, allocations: 0 / 0.5668 GB, free: 30.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.3312, allocations: 111 kB / 0.5669 GB, free: 30.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3312, allocations: 6.375 kB / 0.5669 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3312, allocations: 5.781 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3312, allocations: 0 / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.3313, allocations: 18.41 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3313, allocations: 0 / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.3313, allocations: 3.031 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3314, allocations: 6.5 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.744e-05/0.3314, allocations: 137.2 kB / 0.567 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.3314, allocations: 11.12 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.3316, allocations: 111.7 kB / 0.5672 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3316, allocations: 0 / 0.5672 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3316, allocations: 3.469 kB / 0.5672 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3317, allocations: 0 / 0.5672 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.332, allocations: 400.9 kB / 0.5676 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.332, allocations: 0 / 0.5676 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.332, allocations: 10.45 kB / 0.5676 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.332, allocations: 5.984 kB / 0.5676 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.332, allocations: 3.781 kB / 0.5676 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.332, allocations: 3.938 kB / 0.5676 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.332, allocations: 3.562 kB / 0.5676 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.3322, allocations: 206.1 kB / 0.5678 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.3322, allocations: 84.84 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3323, allocations: 3.766 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.3323, allocations: 5.062 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3324, allocations: 13.41 kB / 0.5679 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3324, allocations: 4.016 kB / 0.5679 GB, free: 29.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.3325, allocations: 153.7 kB / 0.568 GB, free: 29.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3325, allocations: 0 / 0.568 GB, free: 29.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3328, allocations: 25.86 kB / 0.5681 GB, free: 29.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001701/0.3345, allocations: 465.2 kB / 0.5685 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3347, allocations: 50.19 kB / 0.5685 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3347, allocations: 3.219 kB / 0.5685 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.3347, allocations: 27.48 kB / 0.5686 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3351, allocations: 27.36 kB / 0.5686 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.3355, allocations: 260.9 kB / 0.5688 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3356, allocations: 0.7032 MB / 0.5695 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.3357, allocations: 16.69 kB / 0.5696 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.3357, allocations: 16.84 kB / 0.5696 GB, free: 28.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3357, allocations: 0 / 0.5696 GB, free: 28.18 MB / 446.1 MB Notification: Performance of Templates: time 0.004142/0.3399, allocations: 1.769 MB / 0.5713 GB, free: 27.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.170159674715251]