Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 187.1 kB / 16.41 MB, free: 5.723 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.987/1.987, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001124/0.001124, allocations: 94.14 kB / 270.9 MB, free: 8.359 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.5095/0.5095, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006682/0.0006682, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1276, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.6043, allocations: 86.38 MB / 0.5631 GB, free: 364 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.6046, allocations: 71.97 kB / 0.5631 GB, free: 292 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01636/0.621, allocations: 3.937 MB / 0.567 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.6211, allocations: 0 / 0.567 GB, free: 12.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.6211, allocations: 7.938 kB / 0.567 GB, free: 12.38 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.0005142/0.6216, allocations: 406.5 kB / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6217, allocations: 12.02 kB / 0.5674 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.6217, allocations: 7.906 kB / 0.5674 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.622, allocations: 202.3 kB / 0.5676 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6221, allocations: 8 kB / 0.5676 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.6221, allocations: 0 / 0.5676 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.6223, allocations: 53.67 kB / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.6223, allocations: 4 kB / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6223, allocations: 3.938 kB / 0.5677 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6223, allocations: 0 / 0.5677 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.6225, allocations: 29.02 kB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.623, allocations: 284.8 kB / 0.568 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.6232, allocations: 46.55 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.6233, allocations: 7.938 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6233, allocations: 34.64 kB / 0.568 GB, free: 11.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.6233, allocations: 0 / 0.568 GB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008514/0.6242, allocations: 165.2 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.6243, allocations: 51.41 kB / 0.5683 GB, free: 10.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.6246, allocations: 185.3 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6246, allocations: 29.7 kB / 0.5685 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.6247, allocations: 166.5 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.6247, allocations: 15.75 kB / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.6247, allocations: 0 / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6249, allocations: 315.1 kB / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.625, allocations: 19.98 kB / 0.569 GB, free: 10.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.6251, allocations: 27.98 kB / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.6253, allocations: 19.98 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6253, allocations: 0 / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003007/0.6256, allocations: 77.67 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6256, allocations: 12 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6256, allocations: 7.922 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6257, allocations: 3.984 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6258, allocations: 12 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6258, allocations: 0 / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.6259, allocations: 11.98 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.6259, allocations: 7.953 kB / 0.5691 GB, free: 10 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 0.0001273/0.6261, allocations: 125.8 kB / 0.5692 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.6261, allocations: 11.89 kB / 0.5693 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.6265, allocations: 101.9 kB / 0.5694 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6265, allocations: 0 / 0.5694 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6266, allocations: 7.938 kB / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6266, allocations: 0 / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.6272, allocations: 374.8 kB / 0.5697 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6273, allocations: 64 / 0.5697 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.6274, allocations: 19.98 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6274, allocations: 0 / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6274, allocations: 8 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6274, allocations: 0 / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6275, allocations: 0 / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.6278, allocations: 195.3 kB / 0.5699 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.6279, allocations: 97.02 kB / 0.57 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.628, allocations: 0 / 0.57 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6281, allocations: 7.984 kB / 0.57 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.6282, allocations: 4 kB / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.6282, allocations: 0 / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.6284, allocations: 167.8 kB / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.415e-06/0.6284, allocations: 0 / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.6288, allocations: 15.94 kB / 0.5702 GB, free: 8.785 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.001166/0.6299, allocations: 419.6 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.6303, allocations: 55.91 kB / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6303, allocations: 0 / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6305, allocations: 31.98 kB / 0.5707 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6308, allocations: 7.984 kB / 0.5707 GB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.6314, allocations: 269.1 kB / 0.571 GB, free: 8.086 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6318, allocations: 0.7043 MB / 0.5716 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.6319, allocations: 11.44 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6319, allocations: 0 / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of Templates: time 0.004653/0.6365, allocations: 1.542 MB / 0.5732 GB, free: 5.805 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches