Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002189/0.002189, allocations: 186.3 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 2.049/2.049, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001604/0.001604, allocations: 97.53 kB / 270.9 MB, free: 8.371 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.5631/0.5631, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004707, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.593, allocations: 86.63 MB / 0.5633 GB, free: 88 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5934, allocations: 71.97 kB / 0.5634 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01857/0.6119, allocations: 4.311 MB / 0.5676 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.612, allocations: 0 / 0.5676 GB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.612, allocations: 0 / 0.5676 GB, free: 11.74 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.0005339/0.6126, allocations: 379.9 kB / 0.568 GB, free: 11.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6126, allocations: 16.02 kB / 0.568 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.6127, allocations: 7.594 kB / 0.568 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.613, allocations: 194.8 kB / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.613, allocations: 4 kB / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.613, allocations: 0 / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.6132, allocations: 71.33 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6133, allocations: 0 / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.6133, allocations: 0 / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6133, allocations: 0 / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6135, allocations: 29.02 kB / 0.5683 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.6139, allocations: 272.9 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6142, allocations: 42.5 kB / 0.5686 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.6143, allocations: 5.406 kB / 0.5686 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.6143, allocations: 34.56 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.315e-06/0.6143, allocations: 0 / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000869/0.6152, allocations: 161.6 kB / 0.5688 GB, free: 10.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.6153, allocations: 81.09 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.6155, allocations: 127.9 kB / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.6156, allocations: 29.7 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.6157, allocations: 162.5 kB / 0.5691 GB, free: 9.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.6157, allocations: 15.73 kB / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.6157, allocations: 0 / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6159, allocations: 318.8 kB / 0.5695 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.616, allocations: 19.98 kB / 0.5695 GB, free: 9.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.6162, allocations: 33.7 kB / 0.5695 GB, free: 9.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.6163, allocations: 31.92 kB / 0.5696 GB, free: 9.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6163, allocations: 4.031 kB / 0.5696 GB, free: 9.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003384/0.6167, allocations: 80.39 kB / 0.5696 GB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6167, allocations: 4 kB / 0.5696 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6167, allocations: 0 / 0.5696 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6168, allocations: 0 / 0.5696 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.6169, allocations: 15.98 kB / 0.5696 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6169, allocations: 4 kB / 0.5697 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.617, allocations: 8 kB / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.6171, allocations: 3.953 kB / 0.5697 GB, free: 9.422 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.0001378/0.6172, allocations: 117.8 kB / 0.5698 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6173, allocations: 8.156 kB / 0.5698 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.6177, allocations: 105.6 kB / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6177, allocations: 0 / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.6177, allocations: 4 kB / 0.5699 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6178, allocations: 0 / 0.5699 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.6185, allocations: 354.5 kB / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.6186, allocations: 0 / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.6187, allocations: 12 kB / 0.5702 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.6187, allocations: 288 / 0.5702 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6187, allocations: 4 kB / 0.5702 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.6187, allocations: 7.984 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6188, allocations: 0 / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.6192, allocations: 187.4 kB / 0.5704 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.6193, allocations: 92.98 kB / 0.5705 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.6193, allocations: 0 / 0.5705 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.6194, allocations: 4 kB / 0.5705 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.6195, allocations: 11.92 kB / 0.5705 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6195, allocations: 8 kB / 0.5705 GB, free: 8.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.6197, allocations: 111.2 kB / 0.5706 GB, free: 8.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6197, allocations: 0 / 0.5706 GB, free: 8.309 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.6201, allocations: 24.75 kB / 0.5707 GB, free: 8.285 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.001312/0.6214, allocations: 455 kB / 0.5711 GB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.6218, allocations: 47.97 kB / 0.5712 GB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6218, allocations: 0 / 0.5712 GB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.622, allocations: 35.91 kB / 0.5712 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.6223, allocations: 16 kB / 0.5712 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.6229, allocations: 192.8 kB / 0.5714 GB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.6232, allocations: 0.6887 MB / 0.5721 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.6233, allocations: 19.42 kB / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6233, allocations: 4 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of Templates: time 0.004916/0.6282, allocations: 1.569 MB / 0.5736 GB, free: 5.312 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches