Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_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|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009226/0.0009226, allocations: 201.2 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007836/0.0007836, allocations: 97.98 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09639, allocations: 62.96 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001677/0.09811, allocations: 1.303 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.09884, allocations: 495.2 kB / 0.5171 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.09889, allocations: 0 / 0.5171 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.09916, allocations: 123.7 kB / 0.5172 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.09937, allocations: 107.8 kB / 0.5173 GB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.09959, allocations: 78.22 kB / 0.5174 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.09972, allocations: 79.73 kB / 0.5174 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.0998, allocations: 23.97 kB / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.09986, allocations: 35.89 kB / 0.5175 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.09997, allocations: 67.78 kB / 0.5176 GB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.09999, allocations: 4 kB / 0.5176 GB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.1001, allocations: 32 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.1001, allocations: 31.84 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1002, allocations: 37.64 kB / 0.5177 GB, free: 372 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1003, allocations: 87.88 kB / 0.5178 GB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1003, allocations: 0 / 0.5178 GB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1003, allocations: 0 / 0.5178 GB, free: 284 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1003, allocations: 0 / 0.5178 GB, free: 284 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1715/0.2718, allocations: 420.5 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2719, allocations: 9.969 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.2719, allocations: 13.69 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.2721, allocations: 205.8 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2721, allocations: 5.188 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2721, allocations: 6.344 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2723, allocations: 54.8 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2723, allocations: 0.5312 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2723, allocations: 1.469 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2723, allocations: 1.031 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.2724, allocations: 32.06 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.2728, allocations: 301.1 kB / 0.5188 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.2729, allocations: 49.27 kB / 0.5188 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.2729, allocations: 18.16 kB / 0.5188 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.273, allocations: 2.797 kB / 0.5188 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.273, allocations: 32.66 kB / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.273, allocations: 0 / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009058/0.2739, allocations: 263.8 kB / 0.5191 GB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.2739, allocations: 60.73 kB / 0.5192 GB, free: 11.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.2742, allocations: 279.5 kB / 0.5194 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2742, allocations: 29 kB / 0.5195 GB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.2743, allocations: 116.6 kB / 0.5196 GB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2743, allocations: 26.45 kB / 0.5196 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2743, allocations: 3.062 kB / 0.5196 GB, free: 10.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2744, allocations: 327.4 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.2744, allocations: 30.53 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.2745, allocations: 28.88 kB / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.2746, allocations: 29.88 kB / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2746, allocations: 0 / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002089/0.2748, allocations: 120.7 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2749, allocations: 4.781 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2749, allocations: 1.062 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2749, allocations: 0.6562 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.275, allocations: 19.02 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.275, allocations: 5.703 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.275, allocations: 12.58 kB / 0.5202 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2751, allocations: 1.562 kB / 0.5202 GB, free: 10.46 MB / 346.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 (8): * Single equations (assignments): 8 * 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 7.25e-05/0.2751, allocations: 139.6 kB / 0.5203 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2752, allocations: 13.88 kB / 0.5203 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.2754, allocations: 127.2 kB / 0.5204 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2754, allocations: 6.734 kB / 0.5204 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2755, allocations: 0.75 kB / 0.5204 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2755, allocations: 4.703 kB / 0.5204 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.2759, allocations: 431.3 kB / 0.5208 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2759, allocations: 1.156 kB / 0.5208 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.276, allocations: 18 kB / 0.5209 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.276, allocations: 1.188 kB / 0.5209 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.276, allocations: 7.25 kB / 0.5209 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.276, allocations: 1.188 kB / 0.5209 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.276, allocations: 4.812 kB / 0.5209 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2762, allocations: 218.1 kB / 0.5211 GB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.2763, allocations: 92.3 kB / 0.5212 GB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2763, allocations: 4.172 kB / 0.5212 GB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.2764, allocations: 12.7 kB / 0.5212 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2764, allocations: 12.2 kB / 0.5212 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2764, allocations: 4.031 kB / 0.5212 GB, free: 9.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.2766, allocations: 209.1 kB / 0.5214 GB, free: 9.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2766, allocations: 0 / 0.5214 GB, free: 9.641 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.2768, allocations: 19.45 kB / 0.5214 GB, free: 9.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000811/0.2777, allocations: 454.5 kB / 0.5219 GB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2779, allocations: 68.69 kB / 0.5219 GB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2779, allocations: 1.375 kB / 0.5219 GB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.416e-05/0.278, allocations: 43.67 kB / 0.522 GB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2783, allocations: 16.52 kB / 0.522 GB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.2787, allocations: 352.4 kB / 0.5223 GB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2789, allocations: 0.7184 MB / 0.523 GB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2789, allocations: 19.31 kB / 0.523 GB, free: 8.492 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2789, allocations: 4 kB / 0.523 GB, free: 8.488 MB / 346.7 MB Notification: Performance of Templates: time 0.003325/0.2823, allocations: 1.866 MB / 0.5249 GB, free: 8.273 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches