Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.00176/0.00176, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001552/0.001552, allocations: 165.3 kB / 24.26 MB, free: 148 kB / 18.57 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.464/1.464, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3577/0.3577, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.62e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003582/0.003618, allocations: 1.727 MB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.00574, allocations: 0.9742 MB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.005841, allocations: 0 / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.006308, allocations: 79.64 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.006726, allocations: 119.4 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.00697, allocations: 83.66 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.007222, allocations: 119.6 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.007323, allocations: 11.94 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.007455, allocations: 59.83 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.007597, allocations: 59.86 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.007621, allocations: 4 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.007742, allocations: 51.91 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.007815, allocations: 23.86 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.007868, allocations: 15.94 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.008132, allocations: 123.5 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.008137, allocations: 0 / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.008138, allocations: 0 / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.008144, allocations: 4 kB / 378.8 MB, free: 1.426 MB / 346.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.0006787/0.008823, allocations: 357.4 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.008863, allocations: 8.031 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.008937, allocations: 16.84 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.009215, allocations: 153.5 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.009238, allocations: 8.359 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.009266, allocations: 4.359 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.009432, allocations: 58.23 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.009447, allocations: 3.938 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.009459, allocations: 0 / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.009463, allocations: 0 / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.009548, allocations: 23.98 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.0101, allocations: 236.5 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.0103, allocations: 62.61 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.01037, allocations: 24.78 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.01039, allocations: 0 / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.01055, allocations: 67.39 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.01055, allocations: 0 / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006482/0.0112, allocations: 189.3 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.01125, allocations: 51.41 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.01155, allocations: 231.5 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.01158, allocations: 29.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.01166, allocations: 112 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.0117, allocations: 27.78 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.01175, allocations: 25.72 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.01194, allocations: 322.8 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.01201, allocations: 23.98 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.01209, allocations: 33.7 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01223, allocations: 65.64 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01223, allocations: 3.938 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002284/0.01246, allocations: 117.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01248, allocations: 5.875 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01249, allocations: 3.984 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.0125, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.0126, allocations: 20.31 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.01261, allocations: 0 / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.01266, allocations: 8 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01267, allocations: 3.984 kB / 381 MB, free: 14.98 MB / 362.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 0.0001354/0.0128, allocations: 133.2 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.01283, allocations: 15.91 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.01314, allocations: 139.2 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01314, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.01315, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01315, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.01368, allocations: 354.9 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01368, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.01373, allocations: 8 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01373, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01374, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01374, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01374, allocations: 8.031 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.01408, allocations: 224.2 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.0141, allocations: 7.953 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.01413, allocations: 4 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.01421, allocations: 7.984 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.01426, allocations: 7.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.01428, allocations: 7.984 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.01449, allocations: 173.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01449, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.01481, allocations: 27.94 kB / 382.1 MB, free: 13.82 MB / 362.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.002317/0.01713, allocations: 499.7 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01734, allocations: 51.92 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01734, allocations: 64 / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.01743, allocations: 39.92 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.01784, allocations: 30.25 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.01844, allocations: 260.1 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.0186, allocations: 104.7 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.01866, allocations: 25.33 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.01873, allocations: 16.5 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01873, allocations: 0 / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of Templates: time 0.005891/0.02462, allocations: 1.878 MB / 385 MB, free: 11.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.7659760899841785]