Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.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.0007919/0.000792, allocations: 92.97 kB / 271.3 MB, free: 8.242 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.3716/0.3716, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 15.98 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.5125, allocations: 86.67 MB / 0.5646 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5128, allocations: 77.58 kB / 0.5647 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.5247, allocations: 4.316 MB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5247, allocations: 0 / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.5247, allocations: 0 / 0.5689 GB, free: 10.84 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.0004646/0.5252, allocations: 383.5 kB / 0.5692 GB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5253, allocations: 8.031 kB / 0.5693 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.5253, allocations: 12.84 kB / 0.5693 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5256, allocations: 194.6 kB / 0.5695 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5256, allocations: 384 / 0.5695 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.5257, allocations: 8.375 kB / 0.5695 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.5258, allocations: 59.95 kB / 0.5695 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.5258, allocations: 192 / 0.5695 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5259, allocations: 7.875 kB / 0.5695 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5259, allocations: 8 kB / 0.5695 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.526, allocations: 23.98 kB / 0.5696 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.5264, allocations: 268.9 kB / 0.5698 GB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.5266, allocations: 58.48 kB / 0.5699 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.5267, allocations: 16.89 kB / 0.5699 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.5267, allocations: 3.984 kB / 0.5699 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.5267, allocations: 30.84 kB / 0.5699 GB, free: 9.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5267, allocations: 0 / 0.5699 GB, free: 9.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005883/0.5273, allocations: 157.4 kB / 0.5701 GB, free: 9.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5274, allocations: 77.11 kB / 0.5701 GB, free: 9.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.5276, allocations: 133.8 kB / 0.5703 GB, free: 9.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5276, allocations: 25.7 kB / 0.5703 GB, free: 9.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.5276, allocations: 96.08 kB / 0.5704 GB, free: 9.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.5277, allocations: 27.64 kB / 0.5704 GB, free: 9.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.5277, allocations: 0 / 0.5704 GB, free: 9.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5278, allocations: 318.8 kB / 0.5707 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.5279, allocations: 23.98 kB / 0.5707 GB, free: 8.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.528, allocations: 37.7 kB / 0.5708 GB, free: 8.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.5281, allocations: 49.7 kB / 0.5708 GB, free: 8.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5282, allocations: 0 / 0.5708 GB, free: 8.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.5283, allocations: 93.64 kB / 0.5709 GB, free: 8.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5284, allocations: 4 kB / 0.5709 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5284, allocations: 0 / 0.5709 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5284, allocations: 256 / 0.5709 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.5285, allocations: 15.98 kB / 0.5709 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5285, allocations: 4 kB / 0.5709 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.5286, allocations: 7.984 kB / 0.5709 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.5286, allocations: 8.859 kB / 0.5709 GB, free: 8.492 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 9.304e-05/0.5287, allocations: 121.8 kB / 0.5711 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.5287, allocations: 8.656 kB / 0.5711 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.529, allocations: 93.56 kB / 0.5712 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.529, allocations: 4 kB / 0.5712 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.529, allocations: 0 / 0.5712 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.529, allocations: 0 / 0.5712 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.5294, allocations: 358.5 kB / 0.5715 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5294, allocations: 0 / 0.5715 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.5295, allocations: 19.94 kB / 0.5715 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5295, allocations: 7.922 kB / 0.5715 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5295, allocations: 0 / 0.5715 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.5295, allocations: 3.984 kB / 0.5715 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5296, allocations: 0 / 0.5715 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.5298, allocations: 191.4 kB / 0.5717 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.5299, allocations: 93 kB / 0.5718 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.5299, allocations: 0 / 0.5718 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.53, allocations: 4 kB / 0.5718 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.53, allocations: 11.92 kB / 0.5718 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.53, allocations: 0 / 0.5718 GB, free: 7.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.218e-05/0.5301, allocations: 103.3 kB / 0.5719 GB, free: 7.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5301, allocations: 3.938 kB / 0.5719 GB, free: 7.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000256/0.5304, allocations: 31.98 kB / 0.572 GB, free: 7.355 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.001016/0.5314, allocations: 450.5 kB / 0.5724 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.5316, allocations: 55.97 kB / 0.5724 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5316, allocations: 0 / 0.5724 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.5317, allocations: 32.11 kB / 0.5725 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.532, allocations: 15.98 kB / 0.5725 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.5324, allocations: 166.9 kB / 0.5726 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.5328, allocations: 0.6887 MB / 0.5733 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.5328, allocations: 8 kB / 0.5733 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.5329, allocations: 15.42 kB / 0.5733 GB, free: 5.98 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5329, allocations: 4 kB / 0.5733 GB, free: 5.977 MB / 394.7 MB Notification: Performance of Templates: time 0.004019/0.5369, allocations: 1.273 MB / 0.5746 GB, free: 4.707 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches