Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009622/0.0009622, 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.0009551/0.0009551, allocations: 165 kB / 23.8 MB, free: 0.7734 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.929/0.929, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1298/0.1298, allocations: 32.38 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.303e-05, allocations: 10.25 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002537/0.00257, allocations: 1.697 MB / 349.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.003507, allocations: 0.7804 MB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.003581, allocations: 0 / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.003964, allocations: 71.59 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.004198, allocations: 63.69 kB / 350.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.004378, allocations: 75.77 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.00452, allocations: 107.7 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.004562, allocations: 7.938 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.004644, allocations: 55.77 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.004739, allocations: 47.88 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.00476, allocations: 4 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.004843, allocations: 24 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.004905, allocations: 19.92 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.004955, allocations: 19.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.005144, allocations: 87.62 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005147, allocations: 0 / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005148, allocations: 0 / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.005154, allocations: 4 kB / 350.8 MB, free: 6.297 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005164/0.005671, allocations: 432 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.005719, allocations: 8.031 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.005772, allocations: 12.89 kB / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.005945, allocations: 148.4 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.005968, allocations: 8.312 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.005985, allocations: 384 / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.006113, allocations: 58.88 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006123, allocations: 3.938 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.006135, allocations: 4 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.006144, allocations: 8 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.006176, allocations: 7.984 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.006313, allocations: 128.7 kB / 351.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.006421, allocations: 51.09 kB / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.006451, allocations: 15.69 kB / 351.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.006469, allocations: 4 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.006571, allocations: 72.94 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.006572, allocations: 0 / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001906/0.006763, allocations: 85.56 kB / 351.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.006791, allocations: 55.41 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.006891, allocations: 216.1 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.006902, allocations: 33.7 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.00694, allocations: 146.9 kB / 352.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.00697, allocations: 15.91 kB / 352.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.006996, allocations: 31.3 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.007054, allocations: 0.4884 MB / 352.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.007073, allocations: 7.984 kB / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.007098, allocations: 27.38 kB / 352.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.00714, allocations: 39.36 kB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007143, allocations: 4.25 kB / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.318e-05/0.007216, allocations: 73.58 kB / 353 MB, free: 3.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007229, allocations: 8 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.007234, allocations: 3.938 kB / 353 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.00725, allocations: 0 / 353 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.007314, allocations: 8 kB / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.00732, allocations: 0 / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.007351, allocations: 11.98 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.007357, allocations: 12.02 kB / 353 MB, free: 3.879 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 (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 5.382e-05/0.007411, allocations: 156.5 kB / 353.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.007423, allocations: 19.91 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.007543, allocations: 86.02 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007545, allocations: 3.938 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.00755, allocations: 4 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.007554, allocations: 0 / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.807e-05/0.007632, allocations: 140.6 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007633, allocations: 4 kB / 353.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.007651, allocations: 7.984 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007653, allocations: 4 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.00766, allocations: 0 / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.007662, allocations: 3.938 kB / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007663, allocations: 0 / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.007741, allocations: 120.3 kB / 353.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.007754, allocations: 11.95 kB / 353.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.00777, allocations: 0 / 353.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.00779, allocations: 7.938 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.007823, allocations: 4.172 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.007836, allocations: 8 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.863e-05/0.007885, allocations: 160 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007885, allocations: 4 kB / 353.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.00803, allocations: 20 kB / 353.7 MB, free: 3.055 MB / 282.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.0007395/0.008769, allocations: 384.3 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.00888, allocations: 39.61 kB / 354.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008882, allocations: 0 / 354.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.008913, allocations: 23.67 kB / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.009105, allocations: 41.14 kB / 354.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.009432, allocations: 189.3 kB / 354.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.848e-05/0.00946, allocations: 67.33 kB / 354.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.761e-05/0.009488, allocations: 8.5 kB / 354.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.009517, allocations: 24.55 kB / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009518, allocations: 0 / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of Templates: time 0.003154/0.01267, allocations: 1.611 MB / 356.1 MB, free: 0.7305 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.2985218707472086]