Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 176.3 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008131/0.0008133, allocations: 82.42 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3748/0.3748, allocations: 43.55 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003929, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.4119, allocations: 86.78 MB / 0.5647 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4121, allocations: 78.42 kB / 0.5648 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01051/0.4227, allocations: 4.332 MB / 0.569 GB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4227, allocations: 0 / 0.569 GB, free: 10.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4227, allocations: 0 / 0.569 GB, free: 10.87 MB / 394.7 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.0003506/0.4231, allocations: 376 kB / 0.5694 GB, free: 10.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4231, allocations: 12.03 kB / 0.5694 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.4232, allocations: 12.84 kB / 0.5694 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4233, allocations: 192.2 kB / 0.5696 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4234, allocations: 4.375 kB / 0.5696 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.4234, allocations: 4.375 kB / 0.5696 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4235, allocations: 63.89 kB / 0.5696 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4236, allocations: 192 / 0.5696 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4236, allocations: 7.938 kB / 0.5696 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4236, allocations: 4 kB / 0.5696 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.4237, allocations: 27.98 kB / 0.5697 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.4241, allocations: 282.7 kB / 0.5699 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4243, allocations: 54.44 kB / 0.57 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.4243, allocations: 16.95 kB / 0.57 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.4244, allocations: 3.984 kB / 0.57 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4244, allocations: 34.84 kB / 0.57 GB, free: 9.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4244, allocations: 0 / 0.57 GB, free: 9.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005254/0.4249, allocations: 157.4 kB / 0.5702 GB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.425, allocations: 77.11 kB / 0.5703 GB, free: 9.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4251, allocations: 140.8 kB / 0.5704 GB, free: 9.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4251, allocations: 25.7 kB / 0.5704 GB, free: 9.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.4252, allocations: 104.1 kB / 0.5705 GB, free: 9.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4252, allocations: 15.66 kB / 0.5705 GB, free: 9.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.4252, allocations: 0 / 0.5705 GB, free: 9.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.4253, allocations: 326.8 kB / 0.5709 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.4254, allocations: 23.98 kB / 0.5709 GB, free: 8.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.4255, allocations: 37.7 kB / 0.5709 GB, free: 8.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.4256, allocations: 61.39 kB / 0.571 GB, free: 8.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4256, allocations: 4 kB / 0.571 GB, free: 8.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/0.4258, allocations: 93.69 kB / 0.5711 GB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4259, allocations: 4 kB / 0.5711 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4259, allocations: 2.5 kB / 0.5711 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.4259, allocations: 0 / 0.5711 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.4259, allocations: 19.98 kB / 0.5711 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.426, allocations: 0 / 0.5711 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.426, allocations: 8 kB / 0.5711 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.426, allocations: 4 kB / 0.5711 GB, free: 8.484 MB / 394.7 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 8.216e-05/0.4261, allocations: 125.8 kB / 0.5712 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.4261, allocations: 7.906 kB / 0.5712 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.4264, allocations: 102.2 kB / 0.5713 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4264, allocations: 4 kB / 0.5713 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4264, allocations: 288 / 0.5713 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4264, allocations: 0 / 0.5713 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.4268, allocations: 366.4 kB / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4268, allocations: 0 / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.4269, allocations: 19.98 kB / 0.5717 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4269, allocations: 0 / 0.5717 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4269, allocations: 4 kB / 0.5717 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4269, allocations: 0 / 0.5717 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4269, allocations: 7.984 kB / 0.5717 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.4271, allocations: 195.4 kB / 0.5719 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.4272, allocations: 93 kB / 0.572 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4272, allocations: 0 / 0.572 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.4273, allocations: 4 kB / 0.572 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4273, allocations: 15.86 kB / 0.572 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4273, allocations: 4.125 kB / 0.572 GB, free: 7.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.4274, allocations: 103.3 kB / 0.5721 GB, free: 7.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4274, allocations: 7.938 kB / 0.5721 GB, free: 7.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.4277, allocations: 31.97 kB / 0.5721 GB, free: 7.312 MB / 394.7 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.0008767/0.4285, allocations: 442.3 kB / 0.5726 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4287, allocations: 67.97 kB / 0.5726 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4288, allocations: 0 / 0.5726 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.4288, allocations: 31.92 kB / 0.5727 GB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.4291, allocations: 15.98 kB / 0.5727 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.4295, allocations: 170.9 kB / 0.5728 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4297, allocations: 0.6887 MB / 0.5735 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.4298, allocations: 15.98 kB / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.4298, allocations: 15.42 kB / 0.5735 GB, free: 5.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4298, allocations: 4 kB / 0.5735 GB, free: 5.918 MB / 394.7 MB Notification: Performance of Templates: time 0.003403/0.4332, allocations: 1.298 MB / 0.5748 GB, free: 4.625 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches