Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 96.14 kB / 15.87 MB, free: 16 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.001409/0.001409, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.749/1.749, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.402/0.402, allocations: 43.5 MB / 313.5 MB, free: 8.512 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.00184/0.001841, allocations: 70.56 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1941, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.005121/0.1993, allocations: 1.764 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.201, allocations: 0.7885 MB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.2011, allocations: 3.938 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.2016, allocations: 51.88 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.2019, allocations: 51.81 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2021, allocations: 79.84 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.2024, allocations: 95.69 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2025, allocations: 16.22 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2027, allocations: 43.78 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.2028, allocations: 35.78 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2028, allocations: 0 / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.2029, allocations: 35.98 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.203, allocations: 31.84 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.2031, allocations: 43.67 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.2033, allocations: 127.9 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2034, allocations: 11.88 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2034, allocations: 0 / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2034, allocations: 0 / 443 MB, free: 11.66 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.0008456/0.2042, allocations: 434.7 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.2043, allocations: 8.031 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.2044, allocations: 12.84 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2047, allocations: 215.7 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2047, allocations: 8.375 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.2047, allocations: 4.125 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2049, allocations: 57.67 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.205, allocations: 3.938 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.205, allocations: 4 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.205, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.2051, allocations: 15.98 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.2056, allocations: 300.8 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2058, allocations: 58.69 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.2059, allocations: 28.78 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.206, allocations: 0 / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.2062, allocations: 67.39 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2062, allocations: 0 / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006883/0.2069, allocations: 185 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.207, allocations: 59.34 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.2073, allocations: 254.8 kB / 444.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2073, allocations: 29.7 kB / 444.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.2074, allocations: 112.1 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2075, allocations: 27.64 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.2075, allocations: 21.72 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2077, allocations: 330.8 kB / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.2077, allocations: 19.98 kB / 445.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.2078, allocations: 41.69 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.208, allocations: 61.64 kB / 445.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.208, allocations: 0 / 445.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.2082, allocations: 101.4 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2082, allocations: 4 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2082, allocations: 8.031 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.2082, allocations: 0 / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2084, allocations: 15.98 kB / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2084, allocations: 0 / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.2084, allocations: 11.94 kB / 445.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2084, allocations: 4 kB / 445.4 MB, free: 8.965 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.0001607/0.2086, allocations: 137.8 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.2087, allocations: 15.8 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.2087, allocations: 25.48 kB / 445.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2087, allocations: 4 kB / 445.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2088, allocations: 0 / 445.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2088, allocations: 7.938 kB / 445.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.2093, allocations: 411.2 kB / 446 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2093, allocations: 0 / 446 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.2094, allocations: 8 kB / 446 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2094, allocations: 0 / 446 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2094, allocations: 4.312 kB / 446 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/0.2094, allocations: 12.02 kB / 446.1 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2095, allocations: 4 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.2097, allocations: 196.3 kB / 446.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.2098, allocations: 88.92 kB / 446.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.2099, allocations: 7.938 kB / 446.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.2099, allocations: 192 / 446.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.21, allocations: 23.86 kB / 446.4 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.21, allocations: 7.938 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.2102, allocations: 200 kB / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2103, allocations: 0 / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.2105, allocations: 27.98 kB / 446.6 MB, free: 7.699 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.001303/0.2118, allocations: 464.7 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2121, allocations: 59.89 kB / 447.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2121, allocations: 0 / 447.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.2122, allocations: 28 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.2126, allocations: 27.97 kB / 447.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.2133, allocations: 317.5 kB / 447.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.2137, allocations: 0.72 MB / 448.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.535e-05/0.2138, allocations: 21.17 kB / 448.2 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.2139, allocations: 15.44 kB / 448.2 MB, free: 6.047 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2139, allocations: 0 / 448.2 MB, free: 6.047 MB / 382.1 MB Notification: Performance of Templates: time 0.005432/0.2193, allocations: 1.665 MB / 449.9 MB, free: 4.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches