Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001601/0.001601, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001277/0.001277, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2846/0.2846, allocations: 32.81 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 376.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.187e-05, allocations: 2.312 kB / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003361/0.003393, allocations: 1.731 MB / 377.8 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.005219, allocations: 0.9893 MB / 378.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.005318, allocations: 0 / 378.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.005641, allocations: 51.81 kB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.005976, allocations: 107.3 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.00618, allocations: 79.66 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.006364, allocations: 103.6 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.006413, allocations: 4.234 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.006523, allocations: 55.84 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.006605, allocations: 23.91 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.006625, allocations: 4 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.84e-05/0.006723, allocations: 31.97 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.0068, allocations: 27.92 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.006853, allocations: 19.88 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.007098, allocations: 99.59 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.007104, allocations: 0 / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.007106, allocations: 0 / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.007112, allocations: 0 / 379.4 MB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006532/0.007765, allocations: 475.6 kB / 379.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.007811, allocations: 12.03 kB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.007876, allocations: 12.84 kB / 379.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.00812, allocations: 165.2 kB / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.008145, allocations: 8.359 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.008156, allocations: 384 / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.008322, allocations: 58.89 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.008331, allocations: 3.938 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.008344, allocations: 3.984 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.008353, allocations: 4 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.008401, allocations: 4 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.008611, allocations: 160.6 kB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.008755, allocations: 51.09 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.008795, allocations: 15.62 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.008811, allocations: 4 kB / 380.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.008954, allocations: 61.05 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.883e-06/0.008956, allocations: 0 / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002712/0.009228, allocations: 93.52 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.009273, allocations: 59.34 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.009539, allocations: 278.7 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.009556, allocations: 25.7 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.009628, allocations: 162.9 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.009668, allocations: 23.88 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.009707, allocations: 23.38 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.00985, allocations: 0.5001 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.009878, allocations: 7.984 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.009914, allocations: 27.38 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.009974, allocations: 43.55 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009976, allocations: 4 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001178/0.01009, allocations: 81.53 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01011, allocations: 8 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01012, allocations: 3.938 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01013, allocations: 0 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.01022, allocations: 8 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01022, allocations: 7.938 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.01027, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.01028, allocations: 7.984 kB / 381.8 MB, free: 14.99 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 (7): * Single equations (assignments): 7 * 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 9.643e-05/0.01037, allocations: 156.6 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.0104, allocations: 19.94 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.01057, allocations: 86.77 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01058, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01058, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01059, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.01073, allocations: 164.5 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01073, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.01077, allocations: 11.94 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01077, allocations: 0 / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.01078, allocations: 3.984 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01078, allocations: 7.938 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01078, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.01093, allocations: 112.3 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.01095, allocations: 15.91 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01098, allocations: 7.984 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.01102, allocations: 4.125 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.01106, allocations: 8 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.01107, allocations: 3.984 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.01119, allocations: 196.5 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01119, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.01142, allocations: 16 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001026/0.01245, allocations: 394.2 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.01259, allocations: 35.67 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01259, allocations: 4.062 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.01265, allocations: 31.61 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01296, allocations: 35.69 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.01349, allocations: 238.5 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.01354, allocations: 71.33 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.536e-05/0.01359, allocations: 8.484 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.01362, allocations: 16.5 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01362, allocations: 0 / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of Templates: time 0.004531/0.01815, allocations: 1.673 MB / 385 MB, free: 11.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.369209968019277]