Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001052/0.001052, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001167/0.001167, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.112/1.112, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.1763/0.1763, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0 / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.532e-05/4.793e-05, allocations: 6.25 kB / 347.7 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003385/0.003433, allocations: 1.732 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004588, allocations: 0.7881 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.004706, allocations: 0 / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.00513, allocations: 47.7 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.005425, allocations: 51.75 kB / 350.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.005702, allocations: 87.7 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.005926, allocations: 95.69 kB / 350.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.006066, allocations: 4.234 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.006179, allocations: 59.77 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.006281, allocations: 27.91 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.006305, allocations: 4 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.00643, allocations: 43.91 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.006511, allocations: 19.94 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.006569, allocations: 19.92 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.006797, allocations: 103.5 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.006804, allocations: 4 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.006806, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.006814, allocations: 0 / 350.8 MB, free: 6.586 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.0006152/0.007429, allocations: 443.9 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.00748, allocations: 8.031 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.007551, allocations: 8.891 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.007763, allocations: 148.4 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.007792, allocations: 4.375 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.00782, allocations: 8.328 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.008006, allocations: 66.88 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.008029, allocations: 7.938 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.008043, allocations: 0 / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.008056, allocations: 0 / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.008102, allocations: 11.98 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.00849, allocations: 283.8 kB / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.008628, allocations: 51.11 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.008663, allocations: 23.62 kB / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.008681, allocations: 0 / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.008823, allocations: 65.05 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.008824, allocations: 4 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000527/0.009351, allocations: 157.3 kB / 352.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.009388, allocations: 51.41 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.009511, allocations: 224 kB / 352.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.009525, allocations: 29.7 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.009574, allocations: 150.9 kB / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.009607, allocations: 31.73 kB / 352.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.009648, allocations: 27.36 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.009718, allocations: 0.5001 MB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.009752, allocations: 12.31 kB / 353.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.00979, allocations: 39.36 kB / 353.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.009851, allocations: 51.3 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.009853, allocations: 4 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001524/0.01001, allocations: 89.58 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.01003, allocations: 4 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.01004, allocations: 0 / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.01006, allocations: 0 / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01017, allocations: 19.98 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01018, allocations: 32 / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.01022, allocations: 4 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.01023, allocations: 4 kB / 353.3 MB, free: 3.871 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 9.241e-05/0.01032, allocations: 172.4 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.01035, allocations: 15.91 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.01056, allocations: 106.5 kB / 353.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.01056, allocations: 4 kB / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.01057, allocations: 0 / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.01058, allocations: 0 / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.01094, allocations: 389 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01094, allocations: 4.031 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.01098, allocations: 11.98 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01099, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.011, allocations: 8 kB / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01101, allocations: 0 / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01101, allocations: 0 / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.01117, allocations: 259.4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.0112, allocations: 7.953 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.01122, allocations: 3.984 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.01127, allocations: 8 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.01133, allocations: 11.98 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.01135, allocations: 7.938 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.01142, allocations: 167.9 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01142, allocations: 0 / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01164, allocations: 27.94 kB / 354.5 MB, free: 2.605 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.001161/0.0128, allocations: 447.2 kB / 354.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.01299, allocations: 51.55 kB / 355 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.013, allocations: 0 / 355 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.01304, allocations: 39.72 kB / 355 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.01335, allocations: 31.88 kB / 355.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.01387, allocations: 221.6 kB / 355.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.01391, allocations: 67.34 kB / 355.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.01396, allocations: 16.47 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.014, allocations: 16.5 kB / 355.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.014, allocations: 0 / 355.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Templates: time 0.004941/0.01894, allocations: 1.84 MB / 357.2 MB, free: 15.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.817955035949126]