Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001475/0.001475, allocations: 88.23 kB / 20.21 MB, free: 4.227 MB / 18.57 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.00156/0.00156, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.246/0.246, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.283e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004126/0.004169, allocations: 1.689 MB / 348.7 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.006045, allocations: 0.7765 MB / 349.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.006211, allocations: 4 kB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.006731, allocations: 55.7 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.007154, allocations: 59.67 kB / 349.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.007625, allocations: 83.72 kB / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.007934, allocations: 103.6 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.008068, allocations: 4.234 kB / 349.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.008251, allocations: 51.84 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.008371, allocations: 31.89 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.008411, allocations: 4 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.00857, allocations: 39.94 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.008654, allocations: 35.83 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.008724, allocations: 19.94 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.009039, allocations: 135.4 kB / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.009047, allocations: 0 / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.009049, allocations: 0 / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.009057, allocations: 0 / 350.1 MB, free: 6.625 MB / 282.7 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.0007621/0.00982, allocations: 365.4 kB / 350.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.009875, allocations: 12.03 kB / 350.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.009974, allocations: 20.83 kB / 350.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.01042, allocations: 162.4 kB / 350.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.01045, allocations: 8.375 kB / 350.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.01048, allocations: 4.312 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.01067, allocations: 58.23 kB / 350.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01069, allocations: 3.938 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.0107, allocations: 0 / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.01071, allocations: 0 / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.0108, allocations: 19.98 kB / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.0113, allocations: 244.5 kB / 351 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.01149, allocations: 62.61 kB / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.01155, allocations: 20.8 kB / 351.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.01157, allocations: 0 / 351.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.01173, allocations: 71.38 kB / 351.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.01173, allocations: 0 / 351.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.01234, allocations: 197.2 kB / 351.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.01237, allocations: 51.41 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.01256, allocations: 275.9 kB / 351.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.01257, allocations: 25.7 kB / 351.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.01262, allocations: 120.1 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.01265, allocations: 27.78 kB / 351.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.01268, allocations: 21.72 kB / 351.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.01275, allocations: 330.8 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.0128, allocations: 23.94 kB / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.01286, allocations: 37.7 kB / 352.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.01298, allocations: 65.64 kB / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01298, allocations: 0 / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001647/0.01315, allocations: 113.5 kB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01316, allocations: 8 kB / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01317, allocations: 384 / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01319, allocations: 0 / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.01328, allocations: 19.97 kB / 352.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01328, allocations: 4 kB / 352.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.01333, allocations: 7.938 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.01334, allocations: 4 kB / 352.4 MB, free: 4.102 MB / 282.7 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 7.874e-05/0.01341, allocations: 137.8 kB / 352.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.01344, allocations: 15.91 kB / 352.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01367, allocations: 139.2 kB / 352.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01367, allocations: 4 kB / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01368, allocations: 0 / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01368, allocations: 0 / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.01404, allocations: 358.9 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01404, allocations: 0 / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.01407, allocations: 8 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01408, allocations: 0 / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01409, allocations: 7.984 kB / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01409, allocations: 0 / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01409, allocations: 4.031 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.01429, allocations: 224.1 kB / 353.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.01431, allocations: 11.91 kB / 353.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.01433, allocations: 8 kB / 353.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.01441, allocations: 7.922 kB / 353.3 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.01445, allocations: 7.984 kB / 353.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.01447, allocations: 8 kB / 353.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.0146, allocations: 213.4 kB / 353.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0146, allocations: 0 / 353.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01488, allocations: 27.92 kB / 353.6 MB, free: 2.867 MB / 282.7 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 (9): * Single equations (assignments): 7 * 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.002159/0.01704, allocations: 0.4938 MB / 354.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.01722, allocations: 55.91 kB / 354.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01722, allocations: 8.062 kB / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.01729, allocations: 31.97 kB / 354.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.01768, allocations: 37.41 kB / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.01817, allocations: 309.1 kB / 354.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.663e-05/0.01824, allocations: 105.1 kB / 354.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.339e-05/0.01829, allocations: 24.84 kB / 354.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.01832, allocations: 16.5 kB / 354.7 MB, free: 1.863 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01832, allocations: 3.938 kB / 354.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of Templates: time 0.004751/0.02307, allocations: 1.85 MB / 356.5 MB, free: 28 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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: 4.998900524922647]