Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009551/0.0009552, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008664, allocations: 95.73 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1791/0.1791, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.085e-05, allocations: 224 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.5027, allocations: 88.08 MB / 0.5877 GB, free: 1.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.503, allocations: 71.97 kB / 0.5878 GB, free: 1.176 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.5135, allocations: 4.283 MB / 0.592 GB, free: 12.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5136, allocations: 0 / 0.592 GB, free: 12.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.5136, allocations: 4 kB / 0.592 GB, free: 12.9 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003902/0.514, allocations: 394.2 kB / 0.5923 GB, free: 12.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.514, allocations: 12.03 kB / 0.5924 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.5141, allocations: 7.906 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.5143, allocations: 198.9 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5144, allocations: 4 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.5144, allocations: 11.84 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5145, allocations: 53.58 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5146, allocations: 0 / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5146, allocations: 4 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5146, allocations: 4 kB / 0.5926 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/0.5146, allocations: 23.97 kB / 0.5927 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.5151, allocations: 300.8 kB / 0.5929 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.5152, allocations: 46.5 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.5152, allocations: 16.86 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5152, allocations: 0 / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.5153, allocations: 34.56 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5153, allocations: 0 / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005224/0.5158, allocations: 169.2 kB / 0.5932 GB, free: 11.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.5159, allocations: 51.41 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.5161, allocations: 189.3 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.5161, allocations: 25.7 kB / 0.5934 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.5161, allocations: 100 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.5162, allocations: 27.64 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/0.5162, allocations: 0 / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5163, allocations: 330.8 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.5163, allocations: 20.06 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.5164, allocations: 27.92 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.5164, allocations: 28.2 kB / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5165, allocations: 4 kB / 0.594 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001329/0.5166, allocations: 93.5 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5166, allocations: 5.406 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5166, allocations: 0 / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5167, allocations: 0 / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5168, allocations: 19.98 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5168, allocations: 0 / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.5168, allocations: 11.98 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5169, allocations: 8 kB / 0.5941 GB, free: 10.51 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.504e-05/0.517, allocations: 112.9 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.517, allocations: 7.906 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.5172, allocations: 110.2 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5172, allocations: 0 / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5172, allocations: 0 / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5172, allocations: 4 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.5177, allocations: 419.2 kB / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5177, allocations: 0 / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.5178, allocations: 23.92 kB / 0.5947 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5178, allocations: 0 / 0.5947 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5178, allocations: 8 kB / 0.5947 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5178, allocations: 0 / 0.5947 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5178, allocations: 0 / 0.5947 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.518, allocations: 210 kB / 0.5949 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.5181, allocations: 96.91 kB / 0.595 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.5181, allocations: 4 kB / 0.595 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.5182, allocations: 4 kB / 0.595 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5183, allocations: 15.94 kB / 0.5951 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.5183, allocations: 8 kB / 0.5951 GB, free: 9.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.5184, allocations: 156.1 kB / 0.5952 GB, free: 9.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.5184, allocations: 0 / 0.5952 GB, free: 9.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.5186, allocations: 35.88 kB / 0.5953 GB, free: 9.211 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009457/0.5196, allocations: 416.1 kB / 0.5957 GB, free: 8.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.5197, allocations: 63.91 kB / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5197, allocations: 0 / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.5198, allocations: 27.98 kB / 0.5957 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.52, allocations: 17.7 kB / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.5204, allocations: 187.8 kB / 0.5959 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.5207, allocations: 0.72 MB / 0.5966 GB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.5208, allocations: 20.97 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.5208, allocations: 15.42 kB / 0.5967 GB, free: 7.805 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5208, allocations: 0 / 0.5967 GB, free: 7.805 MB / 410.7 MB Notification: Performance of Templates: time 0.003416/0.5242, allocations: 1.374 MB / 0.598 GB, free: 6.434 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches