Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001555/0.001555, 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.89/1.89, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001108/0.001107, allocations: 100.3 kB / 270.9 MB, free: 8.383 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.4985/0.4985, allocations: 43.55 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 16 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1251, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4744/0.5996, allocations: 86.64 MB / 0.5633 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5999, allocations: 71.97 kB / 0.5634 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.6177, allocations: 4.304 MB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6177, allocations: 0 / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.6177, allocations: 0 / 0.5676 GB, free: 11.64 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.0004914/0.6182, allocations: 379.9 kB / 0.568 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6183, allocations: 12.02 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.6184, allocations: 7.906 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.6186, allocations: 199.8 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.6186, allocations: 2.688 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.6187, allocations: 4 kB / 0.5682 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.6189, allocations: 67.89 kB / 0.5682 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.6189, allocations: 3.984 kB / 0.5682 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6189, allocations: 0 / 0.5682 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.619, allocations: 4 kB / 0.5683 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.6191, allocations: 29.02 kB / 0.5683 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.6196, allocations: 268.9 kB / 0.5685 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.6199, allocations: 49.97 kB / 0.5686 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6199, allocations: 0 / 0.5686 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.6199, allocations: 38.56 kB / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.6199, allocations: 0 / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000836/0.6208, allocations: 153.7 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.6209, allocations: 85.09 kB / 0.5688 GB, free: 10.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.6211, allocations: 124.9 kB / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6211, allocations: 29.7 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.6212, allocations: 158.5 kB / 0.5691 GB, free: 9.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.6212, allocations: 19.73 kB / 0.5692 GB, free: 9.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6212, allocations: 0 / 0.5692 GB, free: 9.848 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6214, allocations: 318.8 kB / 0.5695 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.6215, allocations: 19.98 kB / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.6216, allocations: 33.7 kB / 0.5695 GB, free: 9.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.6218, allocations: 31.95 kB / 0.5695 GB, free: 9.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6218, allocations: 0 / 0.5695 GB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003157/0.6221, allocations: 78.36 kB / 0.5696 GB, free: 9.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6222, allocations: 4 kB / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6222, allocations: 4 kB / 0.5696 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6222, allocations: 0 / 0.5696 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6223, allocations: 19.98 kB / 0.5697 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6224, allocations: 0 / 0.5697 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.6224, allocations: 4 kB / 0.5697 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6225, allocations: 4.203 kB / 0.5697 GB, free: 9.32 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.0001088/0.6226, allocations: 117.8 kB / 0.5698 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.6226, allocations: 7.906 kB / 0.5698 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.623, allocations: 105.6 kB / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.623, allocations: 4 kB / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6231, allocations: 0 / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.6231, allocations: 0 / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.6237, allocations: 358.4 kB / 0.5702 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6238, allocations: 0 / 0.5702 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.6239, allocations: 16 kB / 0.5702 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.6239, allocations: 0 / 0.5702 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6239, allocations: 4 kB / 0.5702 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6239, allocations: 0 / 0.5702 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.6239, allocations: 3.984 kB / 0.5702 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.6243, allocations: 192.1 kB / 0.5704 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.6244, allocations: 85 kB / 0.5705 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.6244, allocations: 0 / 0.5705 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.6245, allocations: 8 kB / 0.5705 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.6246, allocations: 11.98 kB / 0.5705 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.6246, allocations: 7.938 kB / 0.5705 GB, free: 8.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.6248, allocations: 109.8 kB / 0.5706 GB, free: 8.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6248, allocations: 0 / 0.5706 GB, free: 8.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.6251, allocations: 27.94 kB / 0.5707 GB, free: 8.18 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.001267/0.6264, allocations: 456.7 kB / 0.5711 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.6268, allocations: 51.97 kB / 0.5712 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6268, allocations: 0 / 0.5712 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.6269, allocations: 35.91 kB / 0.5712 GB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.6273, allocations: 12 kB / 0.5712 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.6278, allocations: 196.8 kB / 0.5714 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6281, allocations: 0.6887 MB / 0.5721 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.6281, allocations: 23.42 kB / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6281, allocations: 0 / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of Templates: time 0.004653/0.6328, allocations: 1.561 MB / 0.5736 GB, free: 5.215 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches