Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009312/0.0009313, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009217/0.0009217, allocations: 95.48 kB / 295.1 MB, free: 4.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002223/0.0002223, allocations: 11.98 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09186, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.001421/0.09333, allocations: 1.295 MB / 0.5166 GB, free: 3.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.09443, allocations: 1.054 MB / 0.5176 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.09448, allocations: 0 / 0.5176 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.09467, allocations: 27.91 kB / 0.5176 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.09486, allocations: 63.77 kB / 0.5177 GB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.09504, allocations: 75.83 kB / 0.5178 GB, free: 2.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.09514, allocations: 59.84 kB / 0.5178 GB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.21e-05/0.09522, allocations: 15.92 kB / 0.5179 GB, free: 2.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.09527, allocations: 19.86 kB / 0.5179 GB, free: 2.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.09538, allocations: 31.84 kB / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.09541, allocations: 0 / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.09553, allocations: 83.94 kB / 0.518 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.09557, allocations: 11.92 kB / 0.518 GB, free: 2.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.0956, allocations: 33.64 kB / 0.518 GB, free: 2.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.09574, allocations: 95.86 kB / 0.5181 GB, free: 2.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09575, allocations: 4 kB / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.09576, allocations: 0 / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09576, allocations: 0 / 0.5181 GB, free: 2.223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003517/0.09612, allocations: 387.4 kB / 0.5185 GB, free: 1.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.09616, allocations: 8.031 kB / 0.5185 GB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.0962, allocations: 7.906 kB / 0.5185 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.09634, allocations: 197.6 kB / 0.5187 GB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.09636, allocations: 4 kB / 0.5187 GB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.09639, allocations: 4 kB / 0.5187 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.09652, allocations: 79.33 kB / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.09654, allocations: 0 / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.09655, allocations: 0 / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.09656, allocations: 0 / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.09665, allocations: 23.98 kB / 0.5188 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.09691, allocations: 280.8 kB / 0.5191 GB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.09708, allocations: 42.5 kB / 0.5191 GB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.09713, allocations: 20.94 kB / 0.5191 GB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.09716, allocations: 8 kB / 0.5191 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.09718, allocations: 30.56 kB / 0.5192 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.09718, allocations: 0 / 0.5192 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000481/0.09767, allocations: 153.3 kB / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.09771, allocations: 89.05 kB / 0.5194 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.09783, allocations: 151.7 kB / 0.5195 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.09784, allocations: 25.7 kB / 0.5196 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.09788, allocations: 92.08 kB / 0.5197 GB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.0979, allocations: 15.8 kB / 0.5197 GB, free: 436 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.09791, allocations: 0 / 0.5197 GB, free: 436 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.09796, allocations: 322.8 kB / 0.52 GB, free: 104 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.09803, allocations: 19.98 kB / 0.52 GB, free: 84 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.0981, allocations: 33.7 kB / 0.52 GB, free: 44 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.09819, allocations: 28.02 kB / 0.5201 GB, free: 16 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.0982, allocations: 0 / 0.5201 GB, free: 16 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.0984, allocations: 93.52 kB / 0.5201 GB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.09843, allocations: 7.984 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.09844, allocations: 3.938 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.09845, allocations: 0 / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.09852, allocations: 16 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.09853, allocations: 0 / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.09858, allocations: 7.984 kB / 0.5202 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.09859, allocations: 7.953 kB / 0.5202 GB, free: 15.88 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 (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 8.031e-05/0.09868, allocations: 113.8 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.09872, allocations: 7.906 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.09895, allocations: 101.9 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.09896, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.09897, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.09898, allocations: 4.281 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.09939, allocations: 362.9 kB / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.0994, allocations: 4 kB / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.09946, allocations: 15.94 kB / 0.5208 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.09947, allocations: 3.984 kB / 0.5208 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.09948, allocations: 7.984 kB / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.09949, allocations: 0 / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0995, allocations: 0 / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.09972, allocations: 187.4 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.09978, allocations: 89 kB / 0.521 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.09981, allocations: 0 / 0.521 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.09988, allocations: 11.94 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.09993, allocations: 7.984 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.09994, allocations: 4 kB / 0.5211 GB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.1, allocations: 113.2 kB / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1, allocations: 0 / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00025/0.1003, allocations: 39.98 kB / 0.5212 GB, free: 14.72 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 (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.0009117/0.1012, allocations: 498.8 kB / 0.5217 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1014, allocations: 55.97 kB / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1014, allocations: 0 / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.1015, allocations: 27.98 kB / 0.5218 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1018, allocations: 23.59 kB / 0.5218 GB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.1023, allocations: 206.2 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1026, allocations: 0.6926 MB / 0.5227 GB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.1027, allocations: 11.44 kB / 0.5227 GB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1027, allocations: 0 / 0.5227 GB, free: 13.32 MB / 362.7 MB Notification: Performance of Templates: time 0.003689/0.1064, allocations: 1.914 MB / 0.5245 GB, free: 11.41 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches