Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.001053/0.001053, allocations: 95.2 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.001059/0.001059, allocations: 165.3 kB / 23.79 MB, free: 0.7812 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.8991/0.8991, 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.1203/0.1203, 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.773e-05, allocations: 10.19 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00252/0.002537, allocations: 1.736 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.003367, allocations: 0.7999 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.003431, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.003768, allocations: 47.69 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.004022, allocations: 59.75 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.00426, allocations: 91.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004437, allocations: 99.64 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.004554, allocations: 4.234 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.004644, allocations: 55.81 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.004722, allocations: 19.92 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.004748, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.004852, allocations: 47.86 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.004909, allocations: 27.91 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.004952, allocations: 19.88 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005131, allocations: 103.6 kB / 350.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005134, allocations: 0 / 350.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005135, allocations: 4 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.005141, allocations: 0 / 350.9 MB, free: 6.242 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.0004737/0.005614, allocations: 451.8 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005652, allocations: 12.03 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.005699, allocations: 16.78 kB / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.005854, allocations: 164.3 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.005872, allocations: 4.359 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.005896, allocations: 4.375 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.006015, allocations: 58.94 kB / 351.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.006025, allocations: 3.938 kB / 351.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.006035, allocations: 8 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006043, allocations: 0 / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.006078, allocations: 15.98 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.00635, allocations: 291.7 kB / 351.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.006446, allocations: 47.17 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.006478, allocations: 31.61 kB / 351.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.006493, allocations: 0 / 351.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.491e-05/0.006578, allocations: 65.05 kB / 352 MB, free: 4.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006579, allocations: 0 / 352 MB, free: 4.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003806/0.006959, allocations: 157.4 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.006984, allocations: 63.33 kB / 352.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.007096, allocations: 245.9 kB / 352.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.007106, allocations: 25.7 kB / 352.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.007152, allocations: 158.9 kB / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.00718, allocations: 27.78 kB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.007213, allocations: 31.38 kB / 352.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.007272, allocations: 0.4962 MB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.007296, allocations: 11.98 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.007328, allocations: 31.38 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.007388, allocations: 59.23 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.00739, allocations: 0 / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001052/0.007495, allocations: 85.59 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.00751, allocations: 8 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007515, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.007533, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.007615, allocations: 23.92 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.007622, allocations: 4 kB / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.007654, allocations: 0 / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.007662, allocations: 8.031 kB / 353.4 MB, free: 3.449 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.063e-05/0.007733, allocations: 172.4 kB / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.007751, allocations: 15.91 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.007896, allocations: 107.2 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007899, allocations: 4 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007903, allocations: 0 / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.007908, allocations: 0 / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.008148, allocations: 397 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008149, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.008174, allocations: 12.03 kB / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008176, allocations: 0 / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.008188, allocations: 8.359 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008189, allocations: 0 / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00819, allocations: 0 / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.008332, allocations: 267.4 kB / 354.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.008353, allocations: 11.91 kB / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.008379, allocations: 4 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.008424, allocations: 3.938 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.008466, allocations: 11.98 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.008484, allocations: 4 kB / 354.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.4e-05/0.008548, allocations: 191.1 kB / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008548, allocations: 0 / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.008726, allocations: 19.94 kB / 354.6 MB, free: 2.156 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.0008848/0.009611, allocations: 440.9 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.009741, allocations: 59.53 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009743, allocations: 0 / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.009784, allocations: 35.61 kB / 355.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01003, allocations: 32.09 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.01035, allocations: 233.8 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.01039, allocations: 75.27 kB / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.01042, allocations: 16.42 kB / 355.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.01045, allocations: 20.48 kB / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01045, allocations: 0 / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of Templates: time 0.003456/0.0139, allocations: 1.857 MB / 357.4 MB, free: 15.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.15462590707466]