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.001269/0.001269, allocations: 101.5 kB / 15.98 MB, free: 5.863 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.001426/0.001426, allocations: 193.3 kB / 16.9 MB, free: 5.727 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.676/1.676, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.4287/0.4287, allocations: 43.49 MB / 313.6 MB, free: 8.523 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.001503/0.001504, allocations: 71.03 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.197, allocations: 57.78 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.005073/0.2021, allocations: 1.752 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.204, allocations: 0.7924 MB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2041, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.2047, allocations: 51.81 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.205, allocations: 55.83 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2054, allocations: 83.83 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.2056, allocations: 95.7 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2058, allocations: 8.219 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2059, allocations: 43.78 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.206, allocations: 39.78 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2061, allocations: 4 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2062, allocations: 39.98 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2063, allocations: 31.86 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.2064, allocations: 47.66 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2067, allocations: 131.8 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.2067, allocations: 0 / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2067, allocations: 0 / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2067, allocations: 4 kB / 443.2 MB, free: 11.52 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.0009537/0.2077, allocations: 442.6 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.2078, allocations: 11.89 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.2078, allocations: 12.84 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.2082, allocations: 223.7 kB / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2083, allocations: 384 / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.2083, allocations: 8.125 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.2085, allocations: 57.67 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2086, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2086, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2086, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.2087, allocations: 23.92 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.2093, allocations: 300.8 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2095, allocations: 54.69 kB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.2096, allocations: 20.84 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.2096, allocations: 4 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.2099, allocations: 71.33 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.847e-06/0.2099, allocations: 0 / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007055/0.2107, allocations: 185 kB / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.2107, allocations: 51.41 kB / 444.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.211, allocations: 255.7 kB / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.2111, allocations: 33.7 kB / 444.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2112, allocations: 108.1 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.2113, allocations: 31.64 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.2113, allocations: 25.7 kB / 445.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2115, allocations: 330.8 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.2116, allocations: 19.98 kB / 445.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.2116, allocations: 33.7 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2118, allocations: 65.72 kB / 445.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2118, allocations: 4 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.212, allocations: 101.5 kB / 445.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.212, allocations: 4 kB / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.212, allocations: 0 / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.212, allocations: 192 / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2121, allocations: 27.92 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2121, allocations: 3.938 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.2122, allocations: 7.938 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2122, allocations: 0 / 445.6 MB, free: 8.812 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.0001588/0.2124, allocations: 137.9 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2124, allocations: 15.81 kB / 445.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.2125, allocations: 21.39 kB / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2125, allocations: 0 / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.2125, allocations: 4.359 kB / 445.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2125, allocations: 3.938 kB / 445.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.2131, allocations: 411.2 kB / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2131, allocations: 4 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.2131, allocations: 11.94 kB / 446.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2131, allocations: 0 / 446.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2131, allocations: 7.938 kB / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2132, allocations: 0 / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2132, allocations: 0 / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.2134, allocations: 208.3 kB / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.2135, allocations: 92.91 kB / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.2136, allocations: 3.938 kB / 446.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.2136, allocations: 7.938 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2137, allocations: 7.984 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2137, allocations: 4 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.2139, allocations: 203 kB / 446.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2139, allocations: 0 / 446.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.2142, allocations: 23.98 kB / 446.8 MB, free: 7.559 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.001314/0.2155, allocations: 468.9 kB / 447.2 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.2158, allocations: 67.84 kB / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.2158, allocations: 4.062 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.2159, allocations: 24.14 kB / 447.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2163, allocations: 43.91 kB / 447.4 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.217, allocations: 315.6 kB / 447.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.2175, allocations: 0.7197 MB / 448.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.2176, allocations: 8.891 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.2176, allocations: 27.36 kB / 448.4 MB, free: 5.875 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2176, allocations: 0 / 448.4 MB, free: 5.875 MB / 382.1 MB Notification: Performance of Templates: time 0.00549/0.2231, allocations: 1.7 MB / 450.1 MB, free: 4.18 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