Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 199.5 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.291/1.291, allocations: 226.6 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.0007468/0.0007467, allocations: 94.67 kB / 295.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1759/0.1759, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002281/0.0002281, allocations: 12 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09476, allocations: 62.95 MB / 0.5153 GB, free: 5.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001445/0.09624, allocations: 1.431 MB / 0.5167 GB, free: 3.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.09767, allocations: 1.507 MB / 0.5182 GB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.09775, allocations: 15.88 kB / 0.5182 GB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.09797, allocations: 35.89 kB / 0.5182 GB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.09817, allocations: 75.69 kB / 0.5183 GB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.09839, allocations: 91.81 kB / 0.5184 GB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.0985, allocations: 83.7 kB / 0.5185 GB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.09858, allocations: 11.98 kB / 0.5185 GB, free: 1.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.09865, allocations: 43.73 kB / 0.5185 GB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.09877, allocations: 47.77 kB / 0.5186 GB, free: 1.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.09879, allocations: 0 / 0.5186 GB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.09892, allocations: 91.94 kB / 0.5187 GB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.09895, allocations: 19.92 kB / 0.5187 GB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.09899, allocations: 37.64 kB / 0.5187 GB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.09914, allocations: 124 kB / 0.5188 GB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.09915, allocations: 0 / 0.5188 GB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09916, allocations: 0 / 0.5188 GB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.09917, allocations: 0 / 0.5188 GB, free: 1.496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003816/0.09956, allocations: 407 kB / 0.5192 GB, free: 1.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.09959, allocations: 12.03 kB / 0.5192 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.09963, allocations: 11.89 kB / 0.5193 GB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.0998, allocations: 218.1 kB / 0.5195 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.09982, allocations: 8 kB / 0.5195 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.09984, allocations: 0 / 0.5195 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.09997, allocations: 71.39 kB / 0.5195 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.09999, allocations: 0 / 0.5195 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1, allocations: 0 / 0.5195 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1, allocations: 4 kB / 0.5195 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.1001, allocations: 19.98 kB / 0.5196 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.1003, allocations: 288.8 kB / 0.5198 GB, free: 340 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1005, allocations: 54.69 kB / 0.5199 GB, free: 276 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.1005, allocations: 24.84 kB / 0.5199 GB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1006, allocations: 0 / 0.5199 GB, free: 248 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.1007, allocations: 71.33 kB / 0.52 GB, free: 164 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1007, allocations: 0 / 0.52 GB, free: 164 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004492/0.1012, allocations: 169.3 kB / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1012, allocations: 84.98 kB / 0.5202 GB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1014, allocations: 171 kB / 0.5204 GB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1014, allocations: 29.7 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1014, allocations: 96.14 kB / 0.5205 GB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1015, allocations: 27.64 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1015, allocations: 0 / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1016, allocations: 322.8 kB / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1017, allocations: 23.98 kB / 0.5209 GB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1017, allocations: 42.5 kB / 0.5209 GB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.337e-05/0.1018, allocations: 28.02 kB / 0.5209 GB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1018, allocations: 4 kB / 0.5209 GB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001627/0.102, allocations: 97.53 kB / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.102, allocations: 7.984 kB / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.102, allocations: 0 / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.102, allocations: 4 kB / 0.521 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.1021, allocations: 12 kB / 0.5211 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1021, allocations: 0 / 0.5211 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.1022, allocations: 8.031 kB / 0.5211 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1022, allocations: 7.938 kB / 0.5211 GB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.83e-05/0.1023, allocations: 128.5 kB / 0.5212 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1023, allocations: 11.81 kB / 0.5212 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1024, allocations: 16.7 kB / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1024, allocations: 4 kB / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1024, allocations: 0 / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1024, allocations: 0 / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.1028, allocations: 399.6 kB / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1028, allocations: 0 / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.1028, allocations: 12 kB / 0.5216 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1028, allocations: 0 / 0.5216 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1029, allocations: 8 kB / 0.5216 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1029, allocations: 240 / 0.5216 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1029, allocations: 3.953 kB / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1031, allocations: 208.2 kB / 0.5218 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.1031, allocations: 89.02 kB / 0.5219 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1032, allocations: 3.984 kB / 0.5219 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1032, allocations: 8 kB / 0.5219 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1033, allocations: 11.89 kB / 0.5219 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1033, allocations: 7.984 kB / 0.5219 GB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.1034, allocations: 123.2 kB / 0.5221 GB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1034, allocations: 4 kB / 0.5221 GB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.1036, allocations: 47.89 kB / 0.5221 GB, free: 13.81 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009682/0.1046, allocations: 0.5462 MB / 0.5226 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1048, allocations: 59.89 kB / 0.5227 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1048, allocations: 4.062 kB / 0.5227 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.1049, allocations: 31.92 kB / 0.5227 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1052, allocations: 27.97 kB / 0.5228 GB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.1055, allocations: 239.9 kB / 0.523 GB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1057, allocations: 0.6975 MB / 0.5237 GB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.1058, allocations: 27.42 kB / 0.5237 GB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1058, allocations: 0 / 0.5237 GB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003518/0.1093, allocations: 2.39 MB / 0.526 GB, free: 9.922 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches