Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.6 MB / 243.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008284/0.0008286, allocations: 100.1 kB / 295.1 MB, free: 4.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1703/0.1703, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09442, allocations: 62.96 MB / 0.5153 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001868/0.09634, allocations: 1.33 MB / 0.5166 GB, free: 3.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.09726, allocations: 0.4914 MB / 0.5171 GB, free: 3.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.09734, allocations: 0 / 0.5171 GB, free: 3.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.09764, allocations: 91.8 kB / 0.5172 GB, free: 3.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.0979, allocations: 91.72 kB / 0.5173 GB, free: 3.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09818, allocations: 79.34 kB / 0.5174 GB, free: 3.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.09834, allocations: 83.8 kB / 0.5174 GB, free: 2.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.09845, allocations: 23.97 kB / 0.5175 GB, free: 2.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.09851, allocations: 35.84 kB / 0.5175 GB, free: 2.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.09862, allocations: 51.81 kB / 0.5175 GB, free: 2.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.09865, allocations: 7.938 kB / 0.5176 GB, free: 2.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.09875, allocations: 35.98 kB / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.09881, allocations: 31.84 kB / 0.5176 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.09884, allocations: 37.64 kB / 0.5177 GB, free: 2.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.099, allocations: 91.86 kB / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09901, allocations: 0 / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09902, allocations: 0 / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.09903, allocations: 0 / 0.5177 GB, free: 2.609 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004059/0.09944, allocations: 419 kB / 0.5181 GB, free: 2.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.09949, allocations: 8.031 kB / 0.5181 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.09953, allocations: 11.81 kB / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.09971, allocations: 207.3 kB / 0.5184 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.09974, allocations: 0 / 0.5184 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.09977, allocations: 8 kB / 0.5184 GB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.09995, allocations: 77.64 kB / 0.5184 GB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.09997, allocations: 0 / 0.5184 GB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.09999, allocations: 4 kB / 0.5184 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1, allocations: 0 / 0.5184 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1002, allocations: 43.91 kB / 0.5185 GB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1005, allocations: 340.6 kB / 0.5188 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1007, allocations: 62.55 kB / 0.5189 GB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.1008, allocations: 24.84 kB / 0.5189 GB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1008, allocations: 0 / 0.5189 GB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1008, allocations: 42.56 kB / 0.5189 GB, free: 1.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1008, allocations: 0 / 0.5189 GB, free: 1.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001183/0.102, allocations: 333.5 kB / 0.5193 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1021, allocations: 55.41 kB / 0.5193 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1023, allocations: 243.4 kB / 0.5195 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1023, allocations: 25.7 kB / 0.5196 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1024, allocations: 116 kB / 0.5197 GB, free: 432 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1024, allocations: 43.36 kB / 0.5197 GB, free: 388 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.1025, allocations: 4 kB / 0.5197 GB, free: 384 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.1025, allocations: 326.8 kB / 0.52 GB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1026, allocations: 43.98 kB / 0.5201 GB, free: 4 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1028, allocations: 43.97 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.103, allocations: 39.98 kB / 0.5202 GB, free: 15.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.103, allocations: 0 / 0.5202 GB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003653/0.1033, allocations: 148.8 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1034, allocations: 4 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1034, allocations: 80 / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1034, allocations: 7.953 kB / 0.5203 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1036, allocations: 23.98 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1036, allocations: 7.922 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.1037, allocations: 8 kB / 0.5203 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1037, allocations: 16.09 kB / 0.5204 GB, free: 15.71 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 (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 0.0001369/0.1039, allocations: 137.7 kB / 0.5205 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.1039, allocations: 15.81 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.1044, allocations: 171.1 kB / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1044, allocations: 11.94 kB / 0.5207 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1044, allocations: 0 / 0.5207 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1044, allocations: 0 / 0.5207 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.1052, allocations: 487.1 kB / 0.5211 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1052, allocations: 4 kB / 0.5211 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1053, allocations: 27.92 kB / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1054, allocations: 0 / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1054, allocations: 8 kB / 0.5212 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1054, allocations: 3.984 kB / 0.5212 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1054, allocations: 0 / 0.5212 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.1058, allocations: 248.2 kB / 0.5214 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.1059, allocations: 92.88 kB / 0.5215 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1059, allocations: 3.984 kB / 0.5215 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1061, allocations: 16 kB / 0.5215 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.1061, allocations: 7.984 kB / 0.5215 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1062, allocations: 4 kB / 0.5215 GB, free: 14.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1063, allocations: 181.2 kB / 0.5217 GB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1064, allocations: 0 / 0.5217 GB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.1068, allocations: 24 kB / 0.5217 GB, free: 14.19 MB / 362.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.001234/0.108, allocations: 454.3 kB / 0.5222 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1083, allocations: 103.8 kB / 0.5223 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1084, allocations: 4 kB / 0.5223 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1085, allocations: 59.91 kB / 0.5223 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.109, allocations: 17.59 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.1097, allocations: 372.7 kB / 0.5227 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1101, allocations: 0.716 MB / 0.5234 GB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.1102, allocations: 23.44 kB / 0.5234 GB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1102, allocations: 4 kB / 0.5234 GB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.004653/0.1148, allocations: 2.04 MB / 0.5254 GB, free: 10.51 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches