Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001433/0.001433, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001963/0.001963, allocations: 167 kB / 24.82 MB, free: 9.273 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2498/0.2498, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.406e-05, allocations: 10.25 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002578/0.002603, allocations: 1.711 MB / 378.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003976, allocations: 0.978 MB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.004061, allocations: 4 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.004352, allocations: 67.67 kB / 379.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.004691, allocations: 107.5 kB / 379.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.004889, allocations: 75.66 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.005047, allocations: 111.6 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.005082, allocations: 4.234 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.005179, allocations: 63.81 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.005271, allocations: 39.89 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.005285, allocations: 4 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.662e-05/0.005361, allocations: 39.86 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.005411, allocations: 19.92 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.005445, allocations: 19.92 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.005609, allocations: 83.67 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.005615, allocations: 3.984 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.005617, allocations: 0 / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.005623, allocations: 0 / 379.9 MB, free: 0.957 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.0005249/0.006148, allocations: 447.9 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.006185, allocations: 8.031 kB / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.006223, allocations: 12.84 kB / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.006379, allocations: 153.1 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.006396, allocations: 4.375 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.006403, allocations: 384 / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.006504, allocations: 58.94 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.006511, allocations: 3.938 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.006517, allocations: 0 / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.006522, allocations: 0 / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.006548, allocations: 15.98 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.00666, allocations: 109.2 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.006735, allocations: 47.09 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.006771, allocations: 19.67 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.006784, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/0.006868, allocations: 65.05 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.006868, allocations: 0 / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001522/0.007021, allocations: 85.45 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.007047, allocations: 55.41 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.007164, allocations: 230.3 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.007178, allocations: 33.69 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.007229, allocations: 146.9 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.007258, allocations: 23.81 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.007295, allocations: 23.38 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.007412, allocations: 0.4923 MB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.00743, allocations: 4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.007455, allocations: 35.28 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.007495, allocations: 35.56 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007497, allocations: 4 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.96e-05/0.007577, allocations: 69.64 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007588, allocations: 4 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007592, allocations: 4 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007604, allocations: 7.922 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.007662, allocations: 15.92 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007665, allocations: 0 / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.007695, allocations: 7.953 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.007699, allocations: 0 / 382.1 MB, free: 14.55 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 7.104e-05/0.00777, allocations: 164.1 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.007786, allocations: 15.98 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.0079, allocations: 82.81 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007903, allocations: 3.938 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007905, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007908, allocations: 3.938 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.008, allocations: 117.2 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008001, allocations: 0 / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.008022, allocations: 8 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008024, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.00803, allocations: 3.984 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008031, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.008032, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.189e-05/0.008124, allocations: 116.3 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.008138, allocations: 7.953 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.008153, allocations: 3.984 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.008175, allocations: 192 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.0082, allocations: 8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.008211, allocations: 7.922 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.008275, allocations: 168.1 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008276, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.008422, allocations: 19.94 kB / 382.8 MB, free: 13.77 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.0007908/0.009213, allocations: 386.9 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.009303, allocations: 31.67 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009305, allocations: 4.062 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.009333, allocations: 27.61 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.009513, allocations: 34.45 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.009793, allocations: 190.2 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.009828, allocations: 71.27 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.885e-05/0.009857, allocations: 8.5 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.00992, allocations: 90.19 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009921, allocations: 0 / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Templates: time 0.003359/0.01328, allocations: 1.786 MB / 385.4 MB, free: 11.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.0802925168536603]