Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009068/0.0009068, allocations: 200.8 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.257/1.257, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008333/0.0008333, allocations: 101.1 kB / 295.1 MB, free: 4.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 44.84 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002599, allocations: 12 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08718, allocations: 62.96 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001372/0.08859, allocations: 1.303 MB / 0.5166 GB, free: 3.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.08964, allocations: 1.062 MB / 0.5176 GB, free: 2.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.0897, allocations: 4 kB / 0.5176 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.08987, allocations: 27.91 kB / 0.5177 GB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.09005, allocations: 63.77 kB / 0.5177 GB, free: 2.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.09024, allocations: 79.34 kB / 0.5178 GB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.09035, allocations: 63.83 kB / 0.5179 GB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.09044, allocations: 19.97 kB / 0.5179 GB, free: 2.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.09048, allocations: 27.86 kB / 0.5179 GB, free: 2.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.09059, allocations: 27.86 kB / 0.5179 GB, free: 2.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.09061, allocations: 4 kB / 0.5179 GB, free: 2.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.09073, allocations: 83.94 kB / 0.518 GB, free: 2.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.09076, allocations: 15.91 kB / 0.518 GB, free: 2.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.09079, allocations: 41.58 kB / 0.5181 GB, free: 2.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.09093, allocations: 103.8 kB / 0.5182 GB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.09094, allocations: 0 / 0.5182 GB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09095, allocations: 3.938 kB / 0.5182 GB, free: 2.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.09096, allocations: 0 / 0.5182 GB, free: 2.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003471/0.09131, allocations: 391.4 kB / 0.5186 GB, free: 1.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.09134, allocations: 8.031 kB / 0.5186 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.09138, allocations: 11.91 kB / 0.5186 GB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.09154, allocations: 194.8 kB / 0.5188 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.09156, allocations: 3.984 kB / 0.5188 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.09158, allocations: 11.94 kB / 0.5188 GB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.09172, allocations: 75.38 kB / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.09174, allocations: 0 / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.09175, allocations: 0 / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.09176, allocations: 0 / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.09186, allocations: 43.97 kB / 0.5189 GB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.09212, allocations: 296.7 kB / 0.5192 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.09222, allocations: 54.56 kB / 0.5192 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.09228, allocations: 24.97 kB / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.0923, allocations: 7.938 kB / 0.5193 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.09232, allocations: 30.56 kB / 0.5193 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.09233, allocations: 0 / 0.5193 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005006/0.09283, allocations: 197.3 kB / 0.5195 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.09287, allocations: 85.06 kB / 0.5196 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.09298, allocations: 148.2 kB / 0.5197 GB, free: 416 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.093, allocations: 33.7 kB / 0.5197 GB, free: 376 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.09303, allocations: 96.14 kB / 0.5198 GB, free: 276 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.09305, allocations: 27.55 kB / 0.5198 GB, free: 248 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.09306, allocations: 0 / 0.5198 GB, free: 248 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.09314, allocations: 322.8 kB / 0.5202 GB, free: 15.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.09323, allocations: 27.97 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.09332, allocations: 45.7 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.09341, allocations: 31.98 kB / 0.5203 GB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.09342, allocations: 0 / 0.5203 GB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001945/0.09362, allocations: 97.81 kB / 0.5203 GB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.09364, allocations: 16.02 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.09365, allocations: 80 / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.09366, allocations: 0 / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.09376, allocations: 19.94 kB / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.09378, allocations: 11.92 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.09383, allocations: 8 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.09384, allocations: 4 kB / 0.5204 GB, free: 15.65 MB / 362.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 8.43e-05/0.09393, allocations: 121.8 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.09397, allocations: 7.906 kB / 0.5205 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.09422, allocations: 122.3 kB / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.09424, allocations: 0 / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.09425, allocations: 0 / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.09426, allocations: 11.94 kB / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.0947, allocations: 394.4 kB / 0.521 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.09472, allocations: 3.984 kB / 0.521 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.09479, allocations: 16 kB / 0.521 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.0948, allocations: 4 kB / 0.5211 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.09481, allocations: 8 kB / 0.5211 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.09482, allocations: 7.938 kB / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.09483, allocations: 11.86 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.09506, allocations: 195.4 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.09512, allocations: 89 kB / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.09514, allocations: 4.375 kB / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.09522, allocations: 11.98 kB / 0.5214 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.09526, allocations: 7.953 kB / 0.5214 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.09527, allocations: 4 kB / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.09536, allocations: 121.3 kB / 0.5215 GB, free: 14.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09537, allocations: 0 / 0.5215 GB, free: 14.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.09562, allocations: 43.98 kB / 0.5215 GB, free: 14.38 MB / 362.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 (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.0008982/0.09652, allocations: 495.7 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.09674, allocations: 71.89 kB / 0.5221 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.09675, allocations: 4 kB / 0.5221 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.09684, allocations: 39.98 kB / 0.5221 GB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.09711, allocations: 19.92 kB / 0.5221 GB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.09749, allocations: 226.8 kB / 0.5224 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.09774, allocations: 0.6965 MB / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.0978, allocations: 27.42 kB / 0.5231 GB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.09781, allocations: 0 / 0.5231 GB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.003256/0.1011, allocations: 2.066 MB / 0.5251 GB, free: 10.85 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches