Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001144/0.001144, 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.001484/0.001484, allocations: 169 kB / 24.24 MB, free: 316 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.172/1.172, allocations: 158.6 MB / 186 MB, free: 2.891 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.1541/0.1541, allocations: 32.38 MB / 270.7 MB, free: 14.76 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.472e-05, allocations: 2.312 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002233/0.002258, allocations: 1.744 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003352, allocations: 0.7843 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.003467, allocations: 0 / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.003975, allocations: 115.5 kB / 350.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.004281, allocations: 83.66 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.00451, allocations: 87.69 kB / 350.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004693, allocations: 115.6 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004823, allocations: 8.219 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.004923, allocations: 63.81 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.005043, allocations: 59.86 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.005068, allocations: 4 kB / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.005167, allocations: 51.86 kB / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.005263, allocations: 31.86 kB / 350.9 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.005326, allocations: 19.92 kB / 350.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.005538, allocations: 103.6 kB / 351 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00554, allocations: 4 kB / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005541, allocations: 0 / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.005547, allocations: 0 / 351 MB, free: 6.422 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.000463/0.00601, allocations: 459.7 kB / 351.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.006061, allocations: 12.03 kB / 351.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.006118, allocations: 20.84 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.006303, allocations: 161.2 kB / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.006327, allocations: 384 / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.006352, allocations: 4.375 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.0065, allocations: 58.94 kB / 351.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.006514, allocations: 7.938 kB / 351.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.006526, allocations: 0 / 351.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.006535, allocations: 3.984 kB / 351.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.006576, allocations: 12 kB / 351.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.006902, allocations: 291.7 kB / 352 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.007029, allocations: 63.16 kB / 352.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.007062, allocations: 15.62 kB / 352.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.00708, allocations: 4 kB / 352.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.007192, allocations: 65.05 kB / 352.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.007193, allocations: 3.938 kB / 352.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004463/0.007639, allocations: 157.4 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.007674, allocations: 59.33 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.007801, allocations: 253.7 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.007811, allocations: 29.7 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.007857, allocations: 162.9 kB / 352.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.00789, allocations: 31.73 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.007921, allocations: 27.38 kB / 352.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.007987, allocations: 0.5001 MB / 353.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.008011, allocations: 12.36 kB / 353.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.008045, allocations: 35.36 kB / 353.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.413e-05/0.008109, allocations: 59.17 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008111, allocations: 4 kB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.963e-05/0.008211, allocations: 85.59 kB / 353.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.008224, allocations: 12.03 kB / 353.6 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.008232, allocations: 3.984 kB / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.008248, allocations: 0 / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.008327, allocations: 23.92 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.008334, allocations: 0 / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.008363, allocations: 4 kB / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.008369, allocations: 4 kB / 353.6 MB, free: 3.594 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 6.372e-05/0.008433, allocations: 168.5 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.008447, allocations: 11.95 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.008595, allocations: 111.2 kB / 353.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.008598, allocations: 8 kB / 353.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008602, allocations: 0 / 353.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.008607, allocations: 0 / 353.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.008856, allocations: 397 kB / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.008857, allocations: 0 / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.008883, allocations: 15.98 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.008887, allocations: 4 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.008896, allocations: 0 / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008898, allocations: 0 / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.008901, allocations: 3.938 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.009013, allocations: 263.5 kB / 354.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.009026, allocations: 11.91 kB / 354.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.009055, allocations: 7.938 kB / 354.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.009095, allocations: 7.984 kB / 354.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.009135, allocations: 4 kB / 354.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.009148, allocations: 3.984 kB / 354.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.009211, allocations: 188.1 kB / 354.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009211, allocations: 0 / 354.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.009378, allocations: 31.92 kB / 354.8 MB, free: 2.293 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.0008828/0.01026, allocations: 446.7 kB / 355.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01038, allocations: 51.55 kB / 355.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01038, allocations: 0 / 355.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.01042, allocations: 35.61 kB / 355.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01066, allocations: 32.28 kB / 355.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.01104, allocations: 236.7 kB / 355.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.01108, allocations: 75.28 kB / 355.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.01112, allocations: 20.59 kB / 355.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.01115, allocations: 16.5 kB / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01115, allocations: 0 / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Templates: time 0.003942/0.01509, allocations: 1.858 MB / 357.6 MB, free: 15.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.5263490858487785]