Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008893/0.008893, allocations: 103 kB / 15.88 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 191.8 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.6 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4029/0.4029, allocations: 43.49 MB / 313.5 MB, free: 8.613 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 71.12 kB / 382 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1928, allocations: 57.78 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004394/0.1973, allocations: 1.76 MB / 441.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.199, allocations: 0.7884 MB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.1991, allocations: 0 / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.1996, allocations: 55.8 kB / 442.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1998, allocations: 55.81 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.2001, allocations: 75.86 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.2004, allocations: 95.73 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2005, allocations: 16.22 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2006, allocations: 39.78 kB / 442.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2007, allocations: 35.78 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2007, allocations: 4 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2009, allocations: 39.92 kB / 442.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.2009, allocations: 23.92 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.201, allocations: 43.66 kB / 442.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.2013, allocations: 131.8 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2013, allocations: 4 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2013, allocations: 0 / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2013, allocations: 0 / 443 MB, free: 11.96 MB / 382.1 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.0008093/0.2021, allocations: 438.7 kB / 443.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.2022, allocations: 8.031 kB / 443.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.2022, allocations: 16.84 kB / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2025, allocations: 227.6 kB / 443.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2026, allocations: 4.375 kB / 443.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.2026, allocations: 8.125 kB / 443.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2028, allocations: 53.67 kB / 443.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2028, allocations: 0 / 443.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2028, allocations: 0 / 443.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.2029, allocations: 4 kB / 443.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.2029, allocations: 19.92 kB / 443.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.2034, allocations: 304.7 kB / 444 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.2036, allocations: 58.69 kB / 444.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.2037, allocations: 20.84 kB / 444.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2037, allocations: 3.984 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.2039, allocations: 71.33 kB / 444.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.2039, allocations: 0 / 444.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.2045, allocations: 177.1 kB / 444.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.2046, allocations: 59.34 kB / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.2049, allocations: 255.7 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2049, allocations: 29.7 kB / 444.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.205, allocations: 112.1 kB / 444.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.2051, allocations: 23.66 kB / 444.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.2051, allocations: 21.7 kB / 444.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2053, allocations: 334.8 kB / 445.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2055, allocations: 19.98 kB / 445.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.2056, allocations: 41.69 kB / 445.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.2057, allocations: 57.66 kB / 445.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.2057, allocations: 0 / 445.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.2059, allocations: 101.5 kB / 445.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2059, allocations: 4 kB / 445.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2059, allocations: 4.031 kB / 445.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.206, allocations: 4 kB / 445.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2061, allocations: 23.92 kB / 445.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2061, allocations: 4.141 kB / 445.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.2062, allocations: 8.312 kB / 445.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2062, allocations: 4 kB / 445.5 MB, free: 9.25 MB / 382.1 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 0.0001394/0.2063, allocations: 129.8 kB / 445.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.2063, allocations: 15.81 kB / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.2064, allocations: 29.58 kB / 445.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2064, allocations: 0 / 445.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2064, allocations: 3.938 kB / 445.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2065, allocations: 3.938 kB / 445.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.207, allocations: 407.2 kB / 446 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.207, allocations: 4 kB / 446 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.207, allocations: 8 kB / 446 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2071, allocations: 3.938 kB / 446 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2071, allocations: 7.969 kB / 446.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2071, allocations: 0 / 446.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2071, allocations: 7.938 kB / 446.1 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.2073, allocations: 200.3 kB / 446.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.2074, allocations: 88.92 kB / 446.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.2075, allocations: 3.938 kB / 446.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.2075, allocations: 4 kB / 446.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.2076, allocations: 15.98 kB / 446.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.2076, allocations: 4 kB / 446.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.2078, allocations: 199 kB / 446.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2078, allocations: 0 / 446.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.2081, allocations: 27.98 kB / 446.6 MB, free: 8 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001165/0.2092, allocations: 472.8 kB / 447.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.2095, allocations: 51.97 kB / 447.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2095, allocations: 3.938 kB / 447.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.2096, allocations: 31.92 kB / 447.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2099, allocations: 31.97 kB / 447.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.2106, allocations: 309.5 kB / 447.5 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.211, allocations: 0.7238 MB / 448.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.2111, allocations: 13.19 kB / 448.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.2111, allocations: 19.42 kB / 448.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2111, allocations: 0 / 448.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of Templates: time 0.005075/0.2162, allocations: 1.666 MB / 449.9 MB, free: 4.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches