Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.001007/0.001007, allocations: 91.22 kB / 20.42 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.001044/0.001044, 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 0.9524/0.9524, allocations: 158.6 MB / 185.7 MB, free: 2.938 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.1697/0.1697, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.721e-05, allocations: 8.219 kB / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002483/0.002521, allocations: 1.738 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003607, allocations: 0.792 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.003701, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.004066, allocations: 43.77 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.00432, allocations: 59.69 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.004558, allocations: 83.7 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.004724, allocations: 103.7 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.004834, allocations: 4.234 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.004924, allocations: 51.78 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.005009, allocations: 31.89 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.005032, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.005134, allocations: 43.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.005194, allocations: 15.92 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.00524, allocations: 19.92 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.005448, allocations: 103.6 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.005451, allocations: 7.938 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.005453, allocations: 0 / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005458, allocations: 0 / 350.8 MB, free: 6.246 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.0005028/0.005961, allocations: 439.9 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.006003, allocations: 8.031 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.006059, allocations: 12.89 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.006256, allocations: 144.4 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.006277, allocations: 4.375 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.006306, allocations: 8.328 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.006469, allocations: 58.94 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.006482, allocations: 7.938 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.006495, allocations: 7.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.006504, allocations: 0 / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.006544, allocations: 11.98 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.006904, allocations: 283.8 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.007043, allocations: 47.11 kB / 351.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.007079, allocations: 27.62 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.0071, allocations: 3.984 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.007217, allocations: 69.05 kB / 351.9 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.007219, allocations: 4 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004804/0.007699, allocations: 149.7 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.007729, allocations: 55.41 kB / 352.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.00784, allocations: 224 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.007852, allocations: 29.7 kB / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.007891, allocations: 146.9 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.007933, allocations: 35.73 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.007979, allocations: 27.38 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.008035, allocations: 0.4962 MB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.008062, allocations: 11.98 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.008094, allocations: 39.31 kB / 353.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.623e-05/0.00815, allocations: 55.36 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008152, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.008257, allocations: 93.56 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.008272, allocations: 4 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.008278, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.008296, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.008394, allocations: 15.98 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.008402, allocations: 0 / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.008437, allocations: 8.031 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008446, allocations: 4 kB / 353.3 MB, free: 3.527 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 7.876e-05/0.008524, allocations: 168.4 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.00854, allocations: 15.91 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.008706, allocations: 102.6 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008711, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.008718, allocations: 7.922 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.008724, allocations: 3.984 kB / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.009016, allocations: 385 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.009018, allocations: 7.969 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.009049, allocations: 12 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.009051, allocations: 4 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.009059, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.009061, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.009062, allocations: 4 kB / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.009177, allocations: 259.4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.009191, allocations: 7.938 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.009209, allocations: 8 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.009253, allocations: 0 / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.009287, allocations: 11.98 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.0093, allocations: 7.938 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.009353, allocations: 168 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009353, allocations: 0 / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.009539, allocations: 23.94 kB / 354.5 MB, free: 2.27 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.001009/0.01055, allocations: 446.4 kB / 354.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.01069, allocations: 55.55 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01069, allocations: 0 / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.01073, allocations: 39.67 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.011, allocations: 32.19 kB / 355.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.01137, allocations: 217.4 kB / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.0114, allocations: 63.34 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01144, allocations: 16.47 kB / 355.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.01147, allocations: 20.5 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.01147, allocations: 0 / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Templates: time 0.004182/0.01566, allocations: 1.842 MB / 357.2 MB, free: 15.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.500729963183403]