Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009395/0.0009396, allocations: 202.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.257/1.257, 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.0007614/0.0007614, allocations: 94.16 kB / 295.1 MB, free: 4.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002363/0.0002363, allocations: 16 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.0924, allocations: 62.95 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001445/0.09389, allocations: 1.431 MB / 0.5167 GB, free: 3.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.09488, allocations: 0.9324 MB / 0.5176 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.09496, allocations: 3.938 kB / 0.5176 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.09518, allocations: 47.81 kB / 0.5177 GB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.09536, allocations: 71.75 kB / 0.5178 GB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.09557, allocations: 95.77 kB / 0.5179 GB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.09569, allocations: 91.69 kB / 0.5179 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.4e-05/0.09577, allocations: 11.98 kB / 0.518 GB, free: 2.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.09584, allocations: 47.77 kB / 0.518 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.0959, allocations: 23.86 kB / 0.518 GB, free: 2.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.09592, allocations: 4 kB / 0.518 GB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.09599, allocations: 43.91 kB / 0.5181 GB, free: 2.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.09603, allocations: 19.86 kB / 0.5181 GB, free: 2.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.09606, allocations: 37.7 kB / 0.5181 GB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.09618, allocations: 92.08 kB / 0.5182 GB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09619, allocations: 7.938 kB / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09619, allocations: 0 / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.0962, allocations: 0 / 0.5182 GB, free: 2.141 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.0003735/0.09658, allocations: 394.9 kB / 0.5186 GB, free: 1.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.09662, allocations: 12.03 kB / 0.5186 GB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.09666, allocations: 11.91 kB / 0.5186 GB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.09682, allocations: 208.6 kB / 0.5188 GB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.09684, allocations: 4 kB / 0.5188 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.09686, allocations: 7.922 kB / 0.5188 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.09699, allocations: 53.67 kB / 0.5189 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.09701, allocations: 7.844 kB / 0.5189 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.09703, allocations: 0 / 0.5189 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.09703, allocations: 4 kB / 0.5189 GB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.0971, allocations: 19.98 kB / 0.5189 GB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.09736, allocations: 292.9 kB / 0.5192 GB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.09751, allocations: 58.67 kB / 0.5192 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.09756, allocations: 20.8 kB / 0.5193 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.09758, allocations: 0 / 0.5193 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.09772, allocations: 71.39 kB / 0.5193 GB, free: 0.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.09773, allocations: 0 / 0.5193 GB, free: 0.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004229/0.09816, allocations: 177.1 kB / 0.5195 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.09819, allocations: 51.41 kB / 0.5195 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.09832, allocations: 218.7 kB / 0.5198 GB, free: 376 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.09834, allocations: 29.7 kB / 0.5198 GB, free: 340 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.09838, allocations: 104.1 kB / 0.5199 GB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.0984, allocations: 23.72 kB / 0.5199 GB, free: 208 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.09841, allocations: 4 kB / 0.5199 GB, free: 204 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.0985, allocations: 322.8 kB / 0.5202 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.09856, allocations: 23.98 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.09862, allocations: 37.64 kB / 0.5203 GB, free: 15.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.09869, allocations: 23.94 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.0987, allocations: 0 / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001585/0.09886, allocations: 101.6 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.09888, allocations: 8 kB / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.09889, allocations: 0 / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.0989, allocations: 0 / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.09899, allocations: 19.94 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.09901, allocations: 4.156 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.09906, allocations: 3.984 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.09907, allocations: 7.953 kB / 0.5204 GB, free: 15.64 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.736e-05/0.09916, allocations: 133.8 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.09919, allocations: 15.8 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.09923, allocations: 21.39 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.09924, allocations: 0 / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.09925, allocations: 3.938 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.09925, allocations: 0 / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.09964, allocations: 399.3 kB / 0.521 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.09966, allocations: 4.031 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.0997, allocations: 8 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.0997, allocations: 0 / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.09972, allocations: 4 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.09973, allocations: 3.938 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.09973, allocations: 7.938 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.09995, allocations: 204.2 kB / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1, allocations: 97 kB / 0.5213 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1, allocations: 4 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1001, allocations: 3.984 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.1001, allocations: 7.953 kB / 0.5213 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1002, allocations: 4 kB / 0.5213 GB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1003, allocations: 160.3 kB / 0.5215 GB, free: 14.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1003, allocations: 0 / 0.5215 GB, free: 14.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.1005, allocations: 24 kB / 0.5215 GB, free: 14.45 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.0008731/0.1014, allocations: 463.4 kB / 0.5219 GB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1015, allocations: 59.97 kB / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1016, allocations: 0 / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.1016, allocations: 35.97 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1019, allocations: 25.41 kB / 0.5221 GB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.1023, allocations: 287.8 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1026, allocations: 0.7043 MB / 0.523 GB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1026, allocations: 19.42 kB / 0.523 GB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1027, allocations: 3.938 kB / 0.523 GB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003156/0.1058, allocations: 1.959 MB / 0.525 GB, free: 11.01 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches