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.001054/0.001054, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009809/0.0009809, allocations: 169.3 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 0.912/0.912, allocations: 158.6 MB / 186 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.2033/0.2033, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.134e-06/2.134e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.746e-05, allocations: 13.28 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002089/0.002116, allocations: 1.742 MB / 349.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.003, allocations: 0.7881 MB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.003068, allocations: 4 kB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.003338, allocations: 55.75 kB / 350.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.003518, allocations: 55.7 kB / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003699, allocations: 83.7 kB / 350.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.003828, allocations: 95.69 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.003903, allocations: 12.22 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.003974, allocations: 51.78 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.004033, allocations: 23.91 kB / 350.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004049, allocations: 8 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.004167, allocations: 43.92 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.004218, allocations: 35.84 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.004256, allocations: 19.92 kB / 350.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.004416, allocations: 115.5 kB / 350.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004418, allocations: 0 / 350.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004419, allocations: 0 / 350.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004423, allocations: 0 / 350.9 MB, free: 6.555 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.0003581/0.004781, allocations: 471.7 kB / 351.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.004811, allocations: 12.03 kB / 351.3 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.004857, allocations: 20.84 kB / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.00499, allocations: 152.4 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.005004, allocations: 384 / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.00502, allocations: 4.375 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.005132, allocations: 66.88 kB / 351.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005142, allocations: 3.938 kB / 351.6 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.005152, allocations: 4 kB / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.005159, allocations: 0 / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.005194, allocations: 11.98 kB / 351.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.005449, allocations: 295.8 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/0.005542, allocations: 55.11 kB / 352 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.005572, allocations: 27.61 kB / 352 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.005581, allocations: 0 / 352 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.477e-05/0.005666, allocations: 65.05 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.005667, allocations: 4 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000364/0.006031, allocations: 161.3 kB / 352.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.006053, allocations: 51.41 kB / 352.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.006184, allocations: 281.2 kB / 352.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.006193, allocations: 29.7 kB / 352.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.006233, allocations: 162.9 kB / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.006256, allocations: 27.78 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.006287, allocations: 27.38 kB / 352.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.006331, allocations: 0.504 MB / 353.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.006356, allocations: 12.36 kB / 353.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.006388, allocations: 39.3 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.006442, allocations: 47.31 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.006443, allocations: 4 kB / 353.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.006549, allocations: 97.52 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.00656, allocations: 8 kB / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006564, allocations: 0 / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006576, allocations: 0 / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.006647, allocations: 16 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006652, allocations: 4 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.006684, allocations: 0 / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006691, allocations: 7.984 kB / 353.5 MB, free: 3.699 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.002e-05/0.006741, allocations: 172.4 kB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.00676, allocations: 15.91 kB / 353.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.006895, allocations: 115.2 kB / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006896, allocations: 0 / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.006899, allocations: 0 / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006902, allocations: 0 / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.007164, allocations: 409 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007166, allocations: 0 / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.007194, allocations: 8 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007196, allocations: 0 / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.007204, allocations: 4 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.007206, allocations: 0 / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007207, allocations: 32 / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.007328, allocations: 267.3 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.007341, allocations: 19.94 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.007359, allocations: 0 / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.007418, allocations: 0 / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.00745, allocations: 7.984 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.007464, allocations: 11.94 kB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.007543, allocations: 196.3 kB / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007543, allocations: 0 / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000243/0.007786, allocations: 27.89 kB / 354.7 MB, free: 2.383 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.001003/0.008789, allocations: 441.4 kB / 355.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.008913, allocations: 55.59 kB / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.008914, allocations: 0 / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.008957, allocations: 35.61 kB / 355.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.00925, allocations: 31.83 kB / 355.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.009599, allocations: 254 kB / 355.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.786e-05/0.009637, allocations: 79.27 kB / 355.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.009675, allocations: 20.59 kB / 355.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.009704, allocations: 16.5 kB / 355.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009705, allocations: 0 / 355.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Templates: time 0.003549/0.01325, allocations: 1.852 MB / 357.5 MB, free: 15.67 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.568219929933548]