Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009895/0.0009895, allocations: 200.5 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, 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.0007481/0.0007481, allocations: 100.6 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 44.83 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.0002519, allocations: 8 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09253, allocations: 62.95 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001843/0.09441, allocations: 1.334 MB / 0.5166 GB, free: 1.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.09519, allocations: 499.2 kB / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.09525, allocations: 8 kB / 0.5171 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.09546, allocations: 27.91 kB / 0.5171 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.09565, allocations: 63.75 kB / 0.5172 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.09587, allocations: 75.86 kB / 0.5173 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.09601, allocations: 75.81 kB / 0.5173 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.09611, allocations: 23.97 kB / 0.5174 GB, free: 0.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.09617, allocations: 27.86 kB / 0.5174 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.09625, allocations: 31.83 kB / 0.5174 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.09627, allocations: 0 / 0.5174 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.09635, allocations: 36 kB / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.09639, allocations: 15.92 kB / 0.5175 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.09643, allocations: 37.64 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.09657, allocations: 79.86 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09658, allocations: 0 / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09659, allocations: 4 kB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.0966, allocations: 0 / 0.5176 GB, free: 444 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.1709/0.2675, allocations: 397.2 kB / 0.518 GB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2676, allocations: 8.812 kB / 0.518 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.2676, allocations: 6.375 kB / 0.518 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2678, allocations: 202 kB / 0.5182 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2678, allocations: 4.25 kB / 0.5182 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.2679, allocations: 6.609 kB / 0.5182 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.268, allocations: 70.02 kB / 0.5182 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2681, allocations: 0.8125 kB / 0.5182 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2681, allocations: 2.422 kB / 0.5182 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2681, allocations: 2 kB / 0.5183 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2682, allocations: 46.22 kB / 0.5183 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.2686, allocations: 319.6 kB / 0.5186 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2687, allocations: 64.97 kB / 0.5187 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.2688, allocations: 29.78 kB / 0.5187 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2688, allocations: 1.562 kB / 0.5187 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.2688, allocations: 37.88 kB / 0.5187 GB, free: 11.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2688, allocations: 0 / 0.5187 GB, free: 11.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001044/0.2699, allocations: 323.8 kB / 0.519 GB, free: 11.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2699, allocations: 53.12 kB / 0.5191 GB, free: 11.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2701, allocations: 175.3 kB / 0.5193 GB, free: 11.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2701, allocations: 27.45 kB / 0.5193 GB, free: 11.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.2701, allocations: 106.4 kB / 0.5194 GB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2702, allocations: 43.09 kB / 0.5194 GB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.2702, allocations: 1.688 kB / 0.5194 GB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.2702, allocations: 322.7 kB / 0.5197 GB, free: 10.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2703, allocations: 39.69 kB / 0.5198 GB, free: 10.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.2704, allocations: 48.84 kB / 0.5198 GB, free: 10.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.974e-05/0.2705, allocations: 43.02 kB / 0.5199 GB, free: 10.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2705, allocations: 0.5 kB / 0.5199 GB, free: 10.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002498/0.2708, allocations: 138.8 kB / 0.52 GB, free: 10.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2708, allocations: 8.641 kB / 0.52 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2708, allocations: 1 kB / 0.52 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2708, allocations: 1.734 kB / 0.52 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.271, allocations: 31.02 kB / 0.52 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.271, allocations: 1.547 kB / 0.52 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.271, allocations: 9.266 kB / 0.52 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.271, allocations: 3.75 kB / 0.52 GB, free: 10.62 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 (13): * Single equations (assignments): 13 * 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 6.959e-05/0.2711, allocations: 126.2 kB / 0.5202 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.2712, allocations: 13.41 kB / 0.5202 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.2715, allocations: 167.9 kB / 0.5203 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2715, allocations: 9.609 kB / 0.5203 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2715, allocations: 0 / 0.5203 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.2715, allocations: 6.219 kB / 0.5204 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.2721, allocations: 481.9 kB / 0.5208 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2721, allocations: 1.688 kB / 0.5208 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.2722, allocations: 26.59 kB / 0.5208 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2722, allocations: 1.625 kB / 0.5208 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2722, allocations: 4.656 kB / 0.5208 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2722, allocations: 5.656 kB / 0.5209 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2722, allocations: 0.625 kB / 0.5209 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.2725, allocations: 245.9 kB / 0.5211 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.2725, allocations: 91.8 kB / 0.5212 GB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2726, allocations: 3.516 kB / 0.5212 GB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.2726, allocations: 9.688 kB / 0.5212 GB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.2727, allocations: 17.75 kB / 0.5212 GB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/0.2727, allocations: 4.281 kB / 0.5212 GB, free: 9.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.2728, allocations: 127.6 kB / 0.5213 GB, free: 9.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 3.938 kB / 0.5213 GB, free: 9.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.273, allocations: 27.72 kB / 0.5214 GB, free: 9.785 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 (13): * Single equations (assignments): 13 * 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.0008111/0.2738, allocations: 455 kB / 0.5218 GB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.2741, allocations: 101.3 kB / 0.5219 GB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2741, allocations: 0 / 0.5219 GB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2742, allocations: 67.05 kB / 0.522 GB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.2745, allocations: 28.16 kB / 0.522 GB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.275, allocations: 301.2 kB / 0.5223 GB, free: 9.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2751, allocations: 0.7038 MB / 0.523 GB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.2752, allocations: 18.62 kB / 0.523 GB, free: 8.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2752, allocations: 0 / 0.523 GB, free: 8.59 MB / 346.7 MB Notification: Performance of Templates: time 0.003531/0.2787, allocations: 1.892 MB / 0.5248 GB, free: 8.383 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches