Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001469/0.001469, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00125/0.00125, allocations: 165 kB / 23.79 MB, free: 0.7773 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.13/1.13, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1436/0.1436, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.082e-05/4.268e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002786/0.002829, allocations: 1.726 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003851, allocations: 0.8037 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.003928, allocations: 4 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.004268, allocations: 51.7 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.004509, allocations: 55.75 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.004753, allocations: 87.7 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004912, allocations: 103.6 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.005017, allocations: 4.234 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.005105, allocations: 51.84 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.005181, allocations: 27.89 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.005202, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.005292, allocations: 43.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.005348, allocations: 35.8 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.00539, allocations: 19.92 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.00559, allocations: 111.5 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.005593, allocations: 0 / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005595, allocations: 0 / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.005601, allocations: 0 / 350.9 MB, free: 6.227 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.0004705/0.006072, allocations: 471.7 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.006113, allocations: 12.03 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.006163, allocations: 16.84 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.006327, allocations: 160.3 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.006346, allocations: 8.375 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.006366, allocations: 384 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.0065, allocations: 62.94 kB / 351.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.00651, allocations: 3.938 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.006519, allocations: 0 / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006526, allocations: 0 / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.00656, allocations: 11.98 kB / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.006849, allocations: 299.8 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.006962, allocations: 59.09 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.006991, allocations: 23.61 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.007003, allocations: 0 / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.007114, allocations: 69.05 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.007115, allocations: 0 / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004173/0.007532, allocations: 161.3 kB / 352.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.007567, allocations: 55.39 kB / 352.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007705, allocations: 277.3 kB / 352.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.007716, allocations: 29.64 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.007764, allocations: 162.9 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.007793, allocations: 35.77 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.007826, allocations: 31.38 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.007899, allocations: 0.504 MB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.007929, allocations: 8 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.007964, allocations: 35.73 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.008029, allocations: 47.31 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00803, allocations: 0 / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001632/0.008194, allocations: 101.5 kB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.008215, allocations: 8 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.008221, allocations: 0 / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.008242, allocations: 4.031 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.008353, allocations: 15.94 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.008365, allocations: 7.984 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.008402, allocations: 0 / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.008411, allocations: 4 kB / 353.5 MB, free: 3.359 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 8.88e-05/0.0085, allocations: 164.5 kB / 353.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.00852, allocations: 19.91 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.008715, allocations: 111.2 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.008719, allocations: 0 / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.008725, allocations: 0 / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.008731, allocations: 4 kB / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.009058, allocations: 405 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.00906, allocations: 0 / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.009098, allocations: 8 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.009102, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.009114, allocations: 8 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.009117, allocations: 3.984 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.009119, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.009255, allocations: 267.3 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.009268, allocations: 7.953 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.009287, allocations: 4.031 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.009331, allocations: 8 kB / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.009368, allocations: 7.922 kB / 354.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.009382, allocations: 7.938 kB / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.009457, allocations: 196.3 kB / 354.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009457, allocations: 0 / 354.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.009643, allocations: 31.88 kB / 354.7 MB, free: 2.043 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.0009696/0.01061, allocations: 439 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.01077, allocations: 55.55 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01077, allocations: 4 kB / 355.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.01081, allocations: 31.67 kB / 355.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01107, allocations: 35.77 kB / 355.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.01145, allocations: 261.9 kB / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.01149, allocations: 71.33 kB / 355.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.5e-05/0.01152, allocations: 16.61 kB / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01156, allocations: 20.48 kB / 355.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01156, allocations: 0 / 355.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of Templates: time 0.004235/0.01579, allocations: 1.993 MB / 357.6 MB, free: 15.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.4149589389562607]