Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001452, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2625/0.2625, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001735, allocations: 80.08 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.436, allocations: 62.42 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003396/0.4395, allocations: 1.931 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.4414, allocations: 1.115 MB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.4415, allocations: 2.75 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.442, allocations: 163.5 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.4424, allocations: 181 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.4427, allocations: 124 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.443, allocations: 242.7 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4432, allocations: 28.52 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4433, allocations: 110.3 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.4435, allocations: 134.9 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.4436, allocations: 8.094 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.4437, allocations: 67.16 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.4438, allocations: 50.19 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.4439, allocations: 94.53 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.4442, allocations: 223.9 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.4442, allocations: 0 / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4442, allocations: 0 / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.4442, allocations: 0 / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007459/0.445, allocations: 0.5509 MB / 0.536 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.445, allocations: 9.375 kB / 0.536 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.4451, allocations: 32.64 kB / 0.536 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.4455, allocations: 279.7 kB / 0.5363 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4455, allocations: 7.641 kB / 0.5363 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4456, allocations: 13.34 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.4458, allocations: 113.8 kB / 0.5364 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4458, allocations: 1.094 kB / 0.5364 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4458, allocations: 1.219 kB / 0.5364 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4458, allocations: 1.062 kB / 0.5364 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.446, allocations: 45.19 kB / 0.5364 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.4465, allocations: 473.6 kB / 0.5369 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.4469, allocations: 122.2 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.447, allocations: 48.89 kB / 0.5371 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4471, allocations: 2.5 kB / 0.5371 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.4473, allocations: 120.5 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4473, allocations: 0 / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.4487, allocations: 0.501 MB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.4488, allocations: 80.23 kB / 0.5377 GB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4492, allocations: 372.5 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.4492, allocations: 32.61 kB / 0.5381 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4493, allocations: 144.2 kB / 0.5383 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.4494, allocations: 81.77 kB / 0.5383 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.4495, allocations: 45.58 kB / 0.5384 GB, free: 7.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4496, allocations: 339.4 kB / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4497, allocations: 57.84 kB / 0.5388 GB, free: 7.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.4499, allocations: 95.5 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.4502, allocations: 160.5 kB / 0.539 GB, free: 7.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4502, allocations: 0.7812 kB / 0.539 GB, free: 7.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003963/0.4506, allocations: 228.7 kB / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4506, allocations: 10.19 kB / 0.5392 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4506, allocations: 5.031 kB / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4506, allocations: 1.875 kB / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4508, allocations: 46.84 kB / 0.5393 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4508, allocations: 9.188 kB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.4509, allocations: 4.25 kB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4509, allocations: 11.47 kB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.4511, allocations: 158 kB / 0.5395 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.4511, allocations: 33.88 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.293e-05/0.4512, allocations: 35.45 kB / 0.5395 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4512, allocations: 2.969 kB / 0.5395 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4512, allocations: 1.094 kB / 0.5395 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4512, allocations: 9.734 kB / 0.5395 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.4521, allocations: 0.7166 MB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4521, allocations: 1.25 kB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.4522, allocations: 36.27 kB / 0.5403 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4522, allocations: 2.531 kB / 0.5403 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4522, allocations: 8.219 kB / 0.5403 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4523, allocations: 2.938 kB / 0.5403 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4523, allocations: 1.344 kB / 0.5403 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.4527, allocations: 425.6 kB / 0.5407 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.4528, allocations: 104.8 kB / 0.5408 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.4529, allocations: 7.578 kB / 0.5408 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.453, allocations: 12.19 kB / 0.5408 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4531, allocations: 25.66 kB / 0.5408 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.4531, allocations: 8.031 kB / 0.5408 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.4534, allocations: 275.6 kB / 0.5411 GB, free: 5.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4534, allocations: 4.938 kB / 0.5411 GB, free: 5.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.4537, allocations: 52.23 kB / 0.5412 GB, free: 5.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.4549, allocations: 0.508 MB / 0.5417 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.4552, allocations: 158.8 kB / 0.5418 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4552, allocations: 0 / 0.5418 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.4554, allocations: 84.62 kB / 0.5419 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.456, allocations: 67.5 kB / 0.542 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.4567, allocations: 0.4996 MB / 0.5424 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.4571, allocations: 0.7647 MB / 0.5432 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.4572, allocations: 44.67 kB / 0.5432 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.4573, allocations: 29.95 kB / 0.5433 GB, free: 4.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4573, allocations: 0 / 0.5433 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Templates: time 0.006382/0.4637, allocations: 3.149 MB / 0.5463 GB, free: 1.801 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches