Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007409/0.007409, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001378/0.001378, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.1 MB / 222.6 MB, free: 4.922 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.4456/0.4456, allocations: 43.5 MB / 313.5 MB, free: 8.633 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.001476/0.001476, allocations: 63.91 kB / 382 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1956, allocations: 57.79 MB / 439.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004602/0.2003, allocations: 1.756 MB / 441.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2021, allocations: 0.7963 MB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2024, allocations: 0 / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.2028, allocations: 79.77 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.2032, allocations: 63.8 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2036, allocations: 79.83 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.2038, allocations: 99.75 kB / 442.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.204, allocations: 12.22 kB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.2041, allocations: 51.77 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2043, allocations: 63.69 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2043, allocations: 4 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2045, allocations: 35.98 kB / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.2046, allocations: 19.92 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.2046, allocations: 35.73 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2049, allocations: 111.9 kB / 443 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2049, allocations: 0 / 443 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2049, allocations: 8 kB / 443 MB, free: 11.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2049, allocations: 0 / 443 MB, free: 11.9 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.0006317/0.2056, allocations: 418.9 kB / 443.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2056, allocations: 15.97 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.2057, allocations: 12.75 kB / 443.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2059, allocations: 216.8 kB / 443.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2059, allocations: 384 / 443.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.206, allocations: 8.125 kB / 443.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2061, allocations: 57.67 kB / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2062, allocations: 0 / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2062, allocations: 0 / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.2062, allocations: 0 / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.2063, allocations: 23.92 kB / 443.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.2067, allocations: 296.8 kB / 444.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2069, allocations: 54.69 kB / 444.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.207, allocations: 20.84 kB / 444.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.207, allocations: 3.984 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.2073, allocations: 71.33 kB / 444.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.2073, allocations: 0 / 444.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006144/0.2079, allocations: 185.1 kB / 444.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.208, allocations: 55.41 kB / 444.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2082, allocations: 206.4 kB / 444.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2082, allocations: 29.7 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.2083, allocations: 104.1 kB / 444.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.2083, allocations: 27.64 kB / 444.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.2084, allocations: 21.72 kB / 444.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2085, allocations: 330.8 kB / 445.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.2086, allocations: 15.98 kB / 445.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.649e-05/0.2087, allocations: 41.7 kB / 445.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.2088, allocations: 62.02 kB / 445.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2088, allocations: 0 / 445.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.209, allocations: 105.5 kB / 445.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.209, allocations: 4 kB / 445.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.209, allocations: 4 kB / 445.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2091, allocations: 8.031 kB / 445.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.2092, allocations: 19.92 kB / 445.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2092, allocations: 0 / 445.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.2092, allocations: 7.938 kB / 445.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2093, allocations: 0 / 445.4 MB, free: 9.289 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.0001299/0.2094, allocations: 130 kB / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.2094, allocations: 11.91 kB / 445.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.2095, allocations: 25.27 kB / 445.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2095, allocations: 0 / 445.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.2095, allocations: 4 kB / 445.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2095, allocations: 7.938 kB / 445.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.21, allocations: 395.2 kB / 446 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2101, allocations: 0 / 446 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.2101, allocations: 8 kB / 446 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2101, allocations: 0 / 446 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2101, allocations: 11.86 kB / 446 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.2101, allocations: 4 kB / 446 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2102, allocations: 4.031 kB / 446 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.2104, allocations: 196.3 kB / 446.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.2105, allocations: 88.92 kB / 446.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.2105, allocations: 7.938 kB / 446.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.2106, allocations: 7.984 kB / 446.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2107, allocations: 0 / 446.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2107, allocations: 8 kB / 446.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.2109, allocations: 156.2 kB / 446.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2109, allocations: 4 kB / 446.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.2112, allocations: 23.98 kB / 446.5 MB, free: 8.109 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.001318/0.2125, allocations: 477 kB / 446.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.2128, allocations: 55.97 kB / 447 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2128, allocations: 0 / 447 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.2129, allocations: 27.94 kB / 447 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.2133, allocations: 39.84 kB / 447.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.214, allocations: 260.9 kB / 447.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.2144, allocations: 0.7083 MB / 448 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.177e-05/0.2145, allocations: 16.88 kB / 448 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.2146, allocations: 15.44 kB / 448.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.2146, allocations: 0 / 448.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of Templates: time 0.00571/0.2203, allocations: 1.647 MB / 449.7 MB, free: 4.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches