Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.000899, allocations: 95.34 kB / 15.68 MB, free: 488 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.0009092/0.0009093, allocations: 178.8 kB / 16.57 MB, free: 6.844 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.241/1.241, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.277/0.277, allocations: 43.54 MB / 314.5 MB, free: 8.742 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.0004584/0.0004585, allocations: 20 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09287, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.001569/0.09446, allocations: 1.252 MB / 444 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004716/0.09496, allocations: 283.9 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.09501, allocations: 0 / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.09522, allocations: 75.77 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.09536, allocations: 51.88 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.09559, allocations: 79.81 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.0957, allocations: 47.89 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.647e-05/0.09578, allocations: 7.984 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.09583, allocations: 31.89 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.09592, allocations: 39.84 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.09594, allocations: 11.92 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.09601, allocations: 19.98 kB / 444.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.09605, allocations: 11.94 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.09608, allocations: 37.64 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.09619, allocations: 72.06 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.0962, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09621, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.09622, allocations: 0 / 444.8 MB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003646/0.09659, allocations: 387 kB / 445.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.09662, allocations: 16 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.09666, allocations: 11.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.09682, allocations: 190.9 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.09683, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.09686, allocations: 4 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.09698, allocations: 53.67 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.097, allocations: 3.938 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.09701, allocations: 0 / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.09702, allocations: 0 / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.09712, allocations: 39.94 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.09744, allocations: 285 kB / 445.7 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.09762, allocations: 50.5 kB / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.09765, allocations: 0 / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.09767, allocations: 30.56 kB / 445.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.09768, allocations: 0 / 445.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005098/0.0982, allocations: 181.2 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.09824, allocations: 51.41 kB / 446 MB, free: 9.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.0984, allocations: 206.2 kB / 446.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.09843, allocations: 25.7 kB / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.09848, allocations: 104.1 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.0985, allocations: 19.72 kB / 446.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.09851, allocations: 0 / 446.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.09861, allocations: 322.8 kB / 446.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.09869, allocations: 23.98 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.09876, allocations: 27.97 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.09883, allocations: 27.98 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.09884, allocations: 0 / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001748/0.09902, allocations: 93.52 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.09904, allocations: 8 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.09905, allocations: 3.953 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.09907, allocations: 4 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.09913, allocations: 15.98 kB / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.09915, allocations: 0 / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.09919, allocations: 11.92 kB / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.09921, allocations: 4 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.994e-05/0.09929, allocations: 121.8 kB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.09932, allocations: 11.89 kB / 447 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.09955, allocations: 113.8 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.09957, allocations: 3.953 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.09958, allocations: 4 kB / 447.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.09958, allocations: 288 / 447.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.09997, allocations: 366.9 kB / 447.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.09999, allocations: 4.062 kB / 447.5 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.1, allocations: 15.98 kB / 447.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1001, allocations: 11.94 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.1001, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1001, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1001, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1003, allocations: 199.3 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.1004, allocations: 89 kB / 447.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1004, allocations: 7.953 kB / 447.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1004, allocations: 8 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1005, allocations: 11.92 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.1005, allocations: 0 / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1006, allocations: 164 kB / 448 MB, free: 7.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1006, allocations: 0 / 448 MB, free: 7.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1008, allocations: 8 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007509/0.1016, allocations: 401.9 kB / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1018, allocations: 63.91 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1018, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.1019, allocations: 27.98 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1021, allocations: 11.98 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1024, allocations: 241.2 kB / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1027, allocations: 0.7082 MB / 449.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1027, allocations: 15.98 kB / 449.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.1028, allocations: 15.42 kB / 449.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1028, allocations: 0 / 449.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of Templates: time 0.00284/0.1056, allocations: 1.046 MB / 450.5 MB, free: 4.895 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches