Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002188/0.002188, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001158/0.001158, allocations: 88.38 kB / 270.9 MB, free: 8.391 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.5104/0.5104, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004622, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.86 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.5928, allocations: 86.38 MB / 0.5631 GB, free: 368 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.5931, allocations: 75.95 kB / 0.5632 GB, free: 292 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02174/0.6149, allocations: 4.146 MB / 0.5672 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.231e-06/0.615, allocations: 4 kB / 0.5672 GB, free: 12.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.615, allocations: 0 / 0.5672 GB, free: 12.17 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.0007952/0.6158, allocations: 422.8 kB / 0.5676 GB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.6159, allocations: 20.02 kB / 0.5676 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.616, allocations: 19.23 kB / 0.5677 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.6165, allocations: 208.2 kB / 0.5679 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.6165, allocations: 8 kB / 0.5679 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.6166, allocations: 0 / 0.5679 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.6168, allocations: 49.69 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6169, allocations: 3.656 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6169, allocations: 3.984 kB / 0.5679 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.6169, allocations: 5.031 kB / 0.5679 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.6171, allocations: 35.91 kB / 0.568 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.6179, allocations: 304.8 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.6182, allocations: 38.56 kB / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.6183, allocations: 8 kB / 0.5683 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.6183, allocations: 34.5 kB / 0.5683 GB, free: 10.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.936e-06/0.6183, allocations: 0 / 0.5683 GB, free: 10.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001084/0.6194, allocations: 165.2 kB / 0.5685 GB, free: 10.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.6195, allocations: 63.34 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.6201, allocations: 234.5 kB / 0.5688 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.6201, allocations: 25.7 kB / 0.5688 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.6202, allocations: 170.6 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.6203, allocations: 15.73 kB / 0.569 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.6203, allocations: 4 kB / 0.569 GB, free: 10.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.6205, allocations: 323 kB / 0.5693 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.6207, allocations: 19.98 kB / 0.5693 GB, free: 9.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.6209, allocations: 19.98 kB / 0.5693 GB, free: 9.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.6211, allocations: 27.98 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6211, allocations: 0 / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004617/0.6216, allocations: 81.67 kB / 0.5694 GB, free: 9.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6216, allocations: 4 kB / 0.5694 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.6216, allocations: 0 / 0.5694 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.6217, allocations: 4 kB / 0.5694 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.6218, allocations: 19.92 kB / 0.5694 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6219, allocations: 7.953 kB / 0.5695 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.622, allocations: 4 kB / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.622, allocations: 0 / 0.5695 GB, free: 9.676 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.0002213/0.6223, allocations: 133.8 kB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6224, allocations: 15.81 kB / 0.5696 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.623, allocations: 106.6 kB / 0.5697 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.623, allocations: 0 / 0.5697 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.623, allocations: 4 kB / 0.5697 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6231, allocations: 3.953 kB / 0.5697 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.6242, allocations: 394.8 kB / 0.5701 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6242, allocations: 0 / 0.5701 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.6244, allocations: 12 kB / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6245, allocations: 0 / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.6245, allocations: 4.75 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.6245, allocations: 3.953 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6245, allocations: 0 / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.6251, allocations: 199.3 kB / 0.5703 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.6253, allocations: 104.9 kB / 0.5704 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.6253, allocations: 0 / 0.5704 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.6255, allocations: 4 kB / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.6256, allocations: 15.94 kB / 0.5704 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.6256, allocations: 7.938 kB / 0.5704 GB, free: 8.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000427/0.6261, allocations: 196.3 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6261, allocations: 0 / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006807/0.6268, allocations: 31.92 kB / 0.5706 GB, free: 8.359 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.001757/0.6286, allocations: 401.4 kB / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.6291, allocations: 59.91 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6291, allocations: 0 / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.6293, allocations: 27.98 kB / 0.5711 GB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.6297, allocations: 12.19 kB / 0.5711 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6307, allocations: 333.7 kB / 0.5714 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.6312, allocations: 0.7277 MB / 0.5721 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.6313, allocations: 15.44 kB / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6313, allocations: 0 / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of Templates: time 0.006557/0.6379, allocations: 1.725 MB / 0.5738 GB, free: 5.113 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches