Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 106.6 kB / 16.64 MB, free: 6.812 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.001786/0.001786, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.528/1.528, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.51 MB / 314.3 MB, free: 0.6914 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.001552/0.001552, allocations: 73.22 kB / 382.9 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09123, allocations: 57.79 MB / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002941/0.09421, allocations: 1.746 MB / 442.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.09534, allocations: 0.8006 MB / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.09545, allocations: 0 / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.09575, allocations: 31.89 kB / 443.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.09597, allocations: 51.83 kB / 443.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.09626, allocations: 75.47 kB / 443.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.09642, allocations: 99.7 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.09653, allocations: 12.5 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.09662, allocations: 47.72 kB / 443.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.09669, allocations: 31.86 kB / 443.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.09671, allocations: 4 kB / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.09681, allocations: 31.98 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.09687, allocations: 27.91 kB / 443.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.09692, allocations: 35.73 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.09708, allocations: 87.83 kB / 443.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.0971, allocations: 4 kB / 443.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.0971, allocations: 0 / 443.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.09712, allocations: 3.938 kB / 443.8 MB, free: 4.23 MB / 318.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.0004408/0.09756, allocations: 418.9 kB / 444.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.09761, allocations: 15.89 kB / 444.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.09766, allocations: 8.844 kB / 444.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.09785, allocations: 212.7 kB / 444.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.09787, allocations: 384 / 444.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.0979, allocations: 12.12 kB / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.09805, allocations: 53.67 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.09807, allocations: 3.984 kB / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.09809, allocations: 0 / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.0981, allocations: 3.938 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.09818, allocations: 19.98 kB / 444.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.09848, allocations: 284.9 kB / 444.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.09864, allocations: 62.67 kB / 444.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.0987, allocations: 24.78 kB / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.09872, allocations: 0 / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.09891, allocations: 67.39 kB / 444.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.09892, allocations: 0 / 444.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005/0.09943, allocations: 177.5 kB / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.09947, allocations: 55.41 kB / 445.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.09961, allocations: 197 kB / 445.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.09963, allocations: 25.7 kB / 445.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.09967, allocations: 108 kB / 445.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.0997, allocations: 19.75 kB / 445.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.09974, allocations: 25.7 kB / 445.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.09979, allocations: 334.8 kB / 445.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.09985, allocations: 19.94 kB / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.09991, allocations: 33.7 kB / 445.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.1, allocations: 73.75 kB / 446 MB, free: 1.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1, allocations: 4 kB / 446 MB, free: 1.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001487/0.1002, allocations: 101.4 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1002, allocations: 8.031 kB / 446.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1002, allocations: 3.984 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1002, allocations: 4 kB / 446.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.1003, allocations: 12 kB / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1003, allocations: 0 / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1004, allocations: 11.94 kB / 446.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1004, allocations: 7.984 kB / 446.1 MB, free: 1.637 MB / 318.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 6.855e-05/0.1005, allocations: 125.8 kB / 446.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.1005, allocations: 11.81 kB / 446.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.1005, allocations: 25.39 kB / 446.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1005, allocations: 0 / 446.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1006, allocations: 3.938 kB / 446.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1006, allocations: 3.938 kB / 446.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.1009, allocations: 387.4 kB / 446.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1009, allocations: 0 / 446.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1009, allocations: 15.92 kB / 446.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1009, allocations: 4.031 kB / 446.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.101, allocations: 7.938 kB / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.101, allocations: 0 / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.101, allocations: 0 / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1011, allocations: 196.3 kB / 446.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.1012, allocations: 88.92 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1012, allocations: 3.938 kB / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1013, allocations: 11.98 kB / 447 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1013, allocations: 11.94 kB / 447 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1013, allocations: 4 kB / 447 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.782e-05/0.1014, allocations: 148.9 kB / 447.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1014, allocations: 0 / 447.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1017, allocations: 27.98 kB / 447.2 MB, free: 484 kB / 318.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.0009588/0.1027, allocations: 471.2 kB / 447.6 MB, free: 84 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1028, allocations: 67.89 kB / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1028, allocations: 0 / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.1029, allocations: 24.05 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1033, allocations: 35.98 kB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1038, allocations: 284.9 kB / 448 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.104, allocations: 0.7119 MB / 448.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1041, allocations: 15.44 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1041, allocations: 0 / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Templates: time 0.003684/0.1078, allocations: 1.918 MB / 450.7 MB, free: 12.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches