Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001139/0.001139, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.00157/0.00157, allocations: 165 kB / 23.8 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.065/1.065, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.154/0.154, 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.398e-05, allocations: 12.22 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004245/0.004279, allocations: 1.726 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.005222, allocations: 0.8037 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.005295, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.005644, allocations: 63.69 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.005863, allocations: 51.77 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.006053, allocations: 87.69 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.006206, allocations: 99.62 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.006302, allocations: 12.22 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.006375, allocations: 47.84 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.006447, allocations: 23.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.006464, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.006549, allocations: 51.86 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.006613, allocations: 31.86 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.00666, allocations: 23.91 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.006856, allocations: 111.5 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006859, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006861, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006866, allocations: 0 / 350.9 MB, free: 6.219 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.0004258/0.007292, allocations: 471.7 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.007329, allocations: 12.03 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.007377, allocations: 16.84 kB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.007536, allocations: 160.3 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.007555, allocations: 4.375 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.007576, allocations: 384 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.007705, allocations: 62.94 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.007716, allocations: 3.938 kB / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.007726, allocations: 4 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.007734, allocations: 0 / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.007767, allocations: 11.98 kB / 351.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.008107, allocations: 299.7 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.008235, allocations: 55.17 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.008267, allocations: 23.61 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.00828, allocations: 0 / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.948e-05/0.008379, allocations: 69.05 kB / 352 MB, free: 4.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.008381, allocations: 3.984 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004051/0.008786, allocations: 157.6 kB / 352.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.008812, allocations: 55.34 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008932, allocations: 277.3 kB / 352.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.008941, allocations: 33.64 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.008986, allocations: 162.9 kB / 352.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.009013, allocations: 35.77 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.009043, allocations: 23.38 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.009093, allocations: 0.504 MB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.009118, allocations: 11.98 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.009149, allocations: 35.38 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.009199, allocations: 55.31 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0092, allocations: 0 / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.686e-05/0.009297, allocations: 85.59 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.009313, allocations: 16.02 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.009318, allocations: 0 / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.009332, allocations: 0 / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.009411, allocations: 15.94 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.009417, allocations: 4 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.009446, allocations: 4 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.009454, allocations: 7.984 kB / 353.5 MB, free: 3.355 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 5.811e-05/0.009512, allocations: 164.5 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.009526, allocations: 15.91 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.009681, allocations: 111.2 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.009685, allocations: 4 kB / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.009689, allocations: 0 / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009693, allocations: 0 / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.009948, allocations: 409 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.009951, allocations: 0 / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.009982, allocations: 8 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009984, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.009993, allocations: 4 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009995, allocations: 0 / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009996, allocations: 0 / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.01011, allocations: 275.4 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.01012, allocations: 15.94 kB / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01014, allocations: 0 / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.01019, allocations: 7.938 kB / 354.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.01023, allocations: 3.984 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.01024, allocations: 8 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.01032, allocations: 200.3 kB / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.01049, allocations: 27.89 kB / 354.7 MB, free: 2.039 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.00092/0.01141, allocations: 437.5 kB / 355.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.01153, allocations: 55.55 kB / 355.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01153, allocations: 4 kB / 355.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.01157, allocations: 35.59 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.0118, allocations: 35.11 kB / 355.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01216, allocations: 254 kB / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.01219, allocations: 71.33 kB / 355.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.133e-05/0.01222, allocations: 20.59 kB / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.01225, allocations: 20.5 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01225, allocations: 0 / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of Templates: time 0.003908/0.01616, allocations: 1.998 MB / 357.7 MB, free: 15.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.2558080069720745]