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.00171/0.00171, allocations: 186.2 kB / 15.76 MB, free: 6.367 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.728/1.728, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008683/0.0008681, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2288/0.2288, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.000384, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1402, allocations: 58.84 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.5143, allocations: 86.64 MB / 0.5634 GB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5146, allocations: 80.11 kB / 0.5634 GB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01062/0.5252, allocations: 4.3 MB / 0.5676 GB, free: 9.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5253, allocations: 0 / 0.5676 GB, free: 9.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.5253, allocations: 4 kB / 0.5676 GB, free: 9.68 MB / 378.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.0004153/0.5257, allocations: 374 kB / 0.568 GB, free: 9.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5258, allocations: 16.02 kB / 0.568 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.5258, allocations: 7.906 kB / 0.568 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.526, allocations: 194.2 kB / 0.5682 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.5261, allocations: 0 / 0.5682 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.5261, allocations: 4 kB / 0.5682 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.5262, allocations: 62.34 kB / 0.5683 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5263, allocations: 0 / 0.5683 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.5263, allocations: 7.312 kB / 0.5683 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5263, allocations: 4 kB / 0.5683 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.5264, allocations: 27.59 kB / 0.5683 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.5268, allocations: 262.6 kB / 0.5686 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.527, allocations: 57.73 kB / 0.5686 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.527, allocations: 96 / 0.5686 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5271, allocations: 34.55 kB / 0.5686 GB, free: 8.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5271, allocations: 0 / 0.5686 GB, free: 8.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005272/0.5276, allocations: 159 kB / 0.5688 GB, free: 8.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5277, allocations: 77.11 kB / 0.5689 GB, free: 8.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5278, allocations: 127.3 kB / 0.569 GB, free: 8.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.5278, allocations: 25.7 kB / 0.569 GB, free: 8.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.5279, allocations: 99 kB / 0.5691 GB, free: 8.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.5279, allocations: 19.69 kB / 0.5691 GB, free: 8.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.5279, allocations: 3.562 kB / 0.5691 GB, free: 8.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5281, allocations: 318.8 kB / 0.5694 GB, free: 7.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.5282, allocations: 21.86 kB / 0.5695 GB, free: 7.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.5282, allocations: 32.95 kB / 0.5695 GB, free: 7.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.5283, allocations: 27.39 kB / 0.5695 GB, free: 7.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5283, allocations: 0 / 0.5695 GB, free: 7.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.5285, allocations: 87.52 kB / 0.5696 GB, free: 7.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5286, allocations: 8 kB / 0.5696 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5286, allocations: 4 kB / 0.5696 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5286, allocations: 0 / 0.5696 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.5287, allocations: 15.98 kB / 0.5696 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.5287, allocations: 0 / 0.5696 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.5287, allocations: 7.25 kB / 0.5696 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.5287, allocations: 8.203 kB / 0.5696 GB, free: 7.508 MB / 378.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 0.000123/0.5289, allocations: 117.5 kB / 0.5697 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.5289, allocations: 7.906 kB / 0.5698 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.5292, allocations: 107.4 kB / 0.5699 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5292, allocations: 0 / 0.5699 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5292, allocations: 0 / 0.5699 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5292, allocations: 0 / 0.5699 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.5297, allocations: 358.2 kB / 0.5702 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5297, allocations: 0 / 0.5702 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.5297, allocations: 16.44 kB / 0.5702 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5298, allocations: 0 / 0.5702 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5298, allocations: 0.5 kB / 0.5702 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5298, allocations: 4 kB / 0.5702 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5298, allocations: 0 / 0.5702 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.5301, allocations: 191.5 kB / 0.5704 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.5302, allocations: 86.64 kB / 0.5705 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.5302, allocations: 4.672 kB / 0.5705 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.5303, allocations: 8.688 kB / 0.5705 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5303, allocations: 4.75 kB / 0.5705 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.5303, allocations: 4.609 kB / 0.5705 GB, free: 6.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.536e-05/0.5304, allocations: 111.9 kB / 0.5706 GB, free: 6.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5304, allocations: 0 / 0.5706 GB, free: 6.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00026/0.5307, allocations: 23.12 kB / 0.5706 GB, free: 6.438 MB / 378.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.001152/0.5319, allocations: 460.9 kB / 0.5711 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.5321, allocations: 52.66 kB / 0.5711 GB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5321, allocations: 0 / 0.5711 GB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.5322, allocations: 31.48 kB / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.5324, allocations: 16.64 kB / 0.5712 GB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.5329, allocations: 172.5 kB / 0.5713 GB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.5332, allocations: 0.6926 MB / 0.572 GB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.5332, allocations: 16.42 kB / 0.572 GB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.5333, allocations: 11.44 kB / 0.572 GB, free: 5.027 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5333, allocations: 0 / 0.572 GB, free: 5.027 MB / 378.7 MB Notification: Performance of Templates: time 0.003883/0.5372, allocations: 1.269 MB / 0.5733 GB, free: 3.77 MB / 378.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/jenkins/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