Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 189.2 kB / 16.78 MB, free: 6.793 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.605/1.605, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4123/0.4123, allocations: 43.49 MB / 313.5 MB, free: 8.305 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.001717/0.001717, allocations: 67.91 kB / 382 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2021, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004639/0.2068, allocations: 1.753 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2087, allocations: 0.7962 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.2088, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.2092, allocations: 39.83 kB / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.2094, allocations: 43.83 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2097, allocations: 83.84 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.2099, allocations: 83.75 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2101, allocations: 24.2 kB / 442.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.2102, allocations: 35.8 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.2103, allocations: 35.77 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.2103, allocations: 4 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2104, allocations: 35.98 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.2105, allocations: 23.86 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.2106, allocations: 27.8 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2109, allocations: 111.9 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2109, allocations: 0 / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2109, allocations: 0 / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2109, allocations: 4 kB / 442.9 MB, free: 11.48 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.0007774/0.2117, allocations: 418.9 kB / 443.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2117, allocations: 8.031 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.2118, allocations: 8.844 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.2122, allocations: 208 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2122, allocations: 12.23 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.2122, allocations: 8.125 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2124, allocations: 53.67 kB / 443.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2125, allocations: 4 kB / 443.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2125, allocations: 0 / 443.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2125, allocations: 4 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.2126, allocations: 15.98 kB / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.2131, allocations: 284.9 kB / 443.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.2134, allocations: 58.62 kB / 444 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.646e-05/0.2134, allocations: 24.84 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.2135, allocations: 0 / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.2138, allocations: 67.3 kB / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2138, allocations: 0 / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006866/0.2145, allocations: 169.3 kB / 444.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.2146, allocations: 59.41 kB / 444.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.2148, allocations: 186.1 kB / 444.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.2148, allocations: 29.7 kB / 444.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.2149, allocations: 104.1 kB / 444.6 MB, free: 9.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.215, allocations: 23.7 kB / 444.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.215, allocations: 17.72 kB / 444.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2152, allocations: 326.8 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.2153, allocations: 27.92 kB / 445 MB, free: 9.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.2153, allocations: 37.7 kB / 445 MB, free: 9.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2155, allocations: 61.7 kB / 445.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2155, allocations: 0 / 445.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.2157, allocations: 97.89 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2157, allocations: 4 kB / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2157, allocations: 4 kB / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2157, allocations: 32 / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.2159, allocations: 23.98 kB / 445.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2159, allocations: 8.078 kB / 445.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.2159, allocations: 11.94 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.2159, allocations: 7.938 kB / 445.2 MB, free: 8.922 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.0001188/0.2161, allocations: 121.8 kB / 445.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.2161, allocations: 7.906 kB / 445.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.2162, allocations: 16.7 kB / 445.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2162, allocations: 4.188 kB / 445.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2162, allocations: 4 kB / 445.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2162, allocations: 7.875 kB / 445.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.2167, allocations: 387.2 kB / 445.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2167, allocations: 4 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.2167, allocations: 4 kB / 445.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2168, allocations: 4 kB / 445.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2168, allocations: 7.922 kB / 445.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2168, allocations: 3.984 kB / 445.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2168, allocations: 8.031 kB / 445.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.217, allocations: 204.2 kB / 446 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.2171, allocations: 81.02 kB / 446.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.2172, allocations: 11.94 kB / 446.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.2172, allocations: 0 / 446.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.2173, allocations: 7.984 kB / 446.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2173, allocations: 8 kB / 446.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2175, allocations: 144 kB / 446.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2175, allocations: 0 / 446.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.2178, allocations: 20 kB / 446.3 MB, free: 7.785 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.00127/0.219, allocations: 476.8 kB / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2193, allocations: 59.91 kB / 446.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2193, allocations: 0 / 446.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.2194, allocations: 31.92 kB / 446.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.2198, allocations: 27.92 kB / 446.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.2204, allocations: 245.3 kB / 447.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.2208, allocations: 0.7043 MB / 447.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.2209, allocations: 21.19 kB / 447.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.2209, allocations: 19.42 kB / 447.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2209, allocations: 0 / 447.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of Templates: time 0.005248/0.2262, allocations: 1.634 MB / 449.5 MB, free: 4.562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches