Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008987/0.0008986, allocations: 177 kB / 16.76 MB, free: 4.941 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.502/1.502, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007947/0.0007946, allocations: 90.41 kB / 271.3 MB, free: 8.254 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.3765/0.3765, allocations: 43.55 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 12 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.5112, allocations: 86.73 MB / 0.5646 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5115, allocations: 67.97 kB / 0.5647 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.5236, allocations: 4.594 MB / 0.5692 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5236, allocations: 0 / 0.5692 GB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.5237, allocations: 4 kB / 0.5692 GB, free: 10.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004656/0.5241, allocations: 390.9 kB / 0.5696 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5242, allocations: 8.031 kB / 0.5696 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.5242, allocations: 4.938 kB / 0.5696 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.5245, allocations: 208 kB / 0.5698 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5245, allocations: 4.375 kB / 0.5698 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.5246, allocations: 4.375 kB / 0.5698 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.5248, allocations: 75.95 kB / 0.5699 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5248, allocations: 192 / 0.5699 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5248, allocations: 3.938 kB / 0.5699 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5248, allocations: 4 kB / 0.5699 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.5249, allocations: 39.91 kB / 0.5699 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.5254, allocations: 284.8 kB / 0.5702 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5255, allocations: 54.56 kB / 0.5702 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.5256, allocations: 21.25 kB / 0.5703 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.5256, allocations: 4 kB / 0.5703 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5256, allocations: 39.38 kB / 0.5703 GB, free: 9.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.5257, allocations: 0 / 0.5703 GB, free: 9.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006412/0.5263, allocations: 197.3 kB / 0.5705 GB, free: 9.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.5264, allocations: 85.11 kB / 0.5706 GB, free: 8.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.5265, allocations: 136.5 kB / 0.5707 GB, free: 8.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.5266, allocations: 25.7 kB / 0.5707 GB, free: 8.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.5266, allocations: 100 kB / 0.5708 GB, free: 8.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.5267, allocations: 23.66 kB / 0.5708 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.5267, allocations: 0 / 0.5708 GB, free: 8.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5268, allocations: 326.8 kB / 0.5712 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.5269, allocations: 31.98 kB / 0.5712 GB, free: 8.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.527, allocations: 45.69 kB / 0.5712 GB, free: 8.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5271, allocations: 65.06 kB / 0.5713 GB, free: 8.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5271, allocations: 4.031 kB / 0.5713 GB, free: 8.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002092/0.5274, allocations: 109.9 kB / 0.5714 GB, free: 8.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5274, allocations: 4 kB / 0.5714 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5274, allocations: 0 / 0.5714 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5274, allocations: 4.75 kB / 0.5714 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5275, allocations: 23.98 kB / 0.5714 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5276, allocations: 4 kB / 0.5714 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.5276, allocations: 8 kB / 0.5714 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5276, allocations: 7.984 kB / 0.5714 GB, free: 7.969 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 (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 9.354e-05/0.5277, allocations: 118.3 kB / 0.5716 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.5278, allocations: 7.906 kB / 0.5716 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.5281, allocations: 125.9 kB / 0.5717 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5281, allocations: 4.75 kB / 0.5717 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5281, allocations: 0 / 0.5717 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5281, allocations: 0 / 0.5717 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.5286, allocations: 406.3 kB / 0.5721 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5286, allocations: 0 / 0.5721 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.5287, allocations: 16 kB / 0.5721 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5287, allocations: 0 / 0.5721 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.5287, allocations: 3.984 kB / 0.5721 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.5287, allocations: 7.875 kB / 0.5721 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5287, allocations: 0 / 0.5721 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.529, allocations: 203.7 kB / 0.5723 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.5291, allocations: 96.98 kB / 0.5724 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.5291, allocations: 0 / 0.5724 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.5291, allocations: 11.92 kB / 0.5724 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.5292, allocations: 11.94 kB / 0.5724 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5292, allocations: 4 kB / 0.5724 GB, free: 6.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.5293, allocations: 111.2 kB / 0.5725 GB, free: 6.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5293, allocations: 0 / 0.5725 GB, free: 6.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.5296, allocations: 31.92 kB / 0.5726 GB, free: 6.727 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 (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.001029/0.5307, allocations: 448.5 kB / 0.573 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.5309, allocations: 71.94 kB / 0.5731 GB, free: 6.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5309, allocations: 0 / 0.5731 GB, free: 6.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.531, allocations: 47.92 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.5313, allocations: 11.98 kB / 0.5731 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.5318, allocations: 202.2 kB / 0.5733 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.5321, allocations: 0.6965 MB / 0.574 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.09e-05/0.5322, allocations: 16.95 kB / 0.574 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.5322, allocations: 11.44 kB / 0.574 GB, free: 5.289 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5322, allocations: 4 kB / 0.574 GB, free: 5.285 MB / 394.7 MB Notification: Performance of Templates: time 0.004203/0.5364, allocations: 1.371 MB / 0.5754 GB, free: 3.918 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches