Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2781/0.2781, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 83.88 kB / 482 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4086, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003477/0.4121, allocations: 1.95 MB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.4141, allocations: 1.054 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4142, allocations: 2.75 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.4146, allocations: 47.89 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.4149, allocations: 99.03 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.4152, allocations: 95.02 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.4154, allocations: 149.3 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4156, allocations: 25.94 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.4157, allocations: 61.7 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.4158, allocations: 45.47 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.4158, allocations: 10.81 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.416, allocations: 47.61 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.416, allocations: 30.77 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.4161, allocations: 50.62 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.4164, allocations: 148.9 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4164, allocations: 1.375 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4164, allocations: 0 / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.4164, allocations: 3.938 kB / 0.5354 GB, free: 10.69 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000698/0.4171, allocations: 491.5 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4172, allocations: 8.719 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.4172, allocations: 16.28 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.4176, allocations: 236.1 kB / 0.5362 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.4176, allocations: 7.438 kB / 0.5362 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.4177, allocations: 12.78 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.4179, allocations: 102.7 kB / 0.5363 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4179, allocations: 0 / 0.5363 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4179, allocations: 5.375 kB / 0.5363 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.418, allocations: 9.172 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.4181, allocations: 54.75 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.4188, allocations: 0.5047 MB / 0.5368 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.4191, allocations: 90.98 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4192, allocations: 39.89 kB / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.4193, allocations: 1.125 kB / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4195, allocations: 86.38 kB / 0.537 GB, free: 9.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.4195, allocations: 0 / 0.537 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004154/0.4199, allocations: 143.3 kB / 0.5372 GB, free: 9.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.42, allocations: 56.5 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.4202, allocations: 194.7 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.4202, allocations: 34.78 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.4203, allocations: 115.3 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.4203, allocations: 35.69 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.4204, allocations: 31.08 kB / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4205, allocations: 326.4 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.4206, allocations: 28.14 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4208, allocations: 68.45 kB / 0.538 GB, free: 8.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.421, allocations: 101.5 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.421, allocations: 1.125 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.4213, allocations: 145.1 kB / 0.5383 GB, free: 8.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4213, allocations: 5.969 kB / 0.5383 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4213, allocations: 1.188 kB / 0.5383 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4213, allocations: 7.062 kB / 0.5383 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4214, allocations: 25.89 kB / 0.5383 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4215, allocations: 1.5 kB / 0.5383 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.4215, allocations: 4.719 kB / 0.5383 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4215, allocations: 5.219 kB / 0.5383 GB, free: 8.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001245/0.4217, allocations: 137.7 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4217, allocations: 15.56 kB / 0.5385 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.4218, allocations: 17.5 kB / 0.5385 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4218, allocations: 9.062 kB / 0.5385 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4218, allocations: 1.25 kB / 0.5385 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4218, allocations: 3.984 kB / 0.5385 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.422, allocations: 210.8 kB / 0.5387 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.422, allocations: 0 / 0.5387 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.4221, allocations: 9.375 kB / 0.5387 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.4221, allocations: 1.312 kB / 0.5387 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4221, allocations: 5.234 kB / 0.5387 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4222, allocations: 3.938 kB / 0.5387 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4222, allocations: 1.375 kB / 0.5387 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.4226, allocations: 180.9 kB / 0.5389 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.4226, allocations: 87.8 kB / 0.539 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4227, allocations: 2.562 kB / 0.539 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.4227, allocations: 12.05 kB / 0.539 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4228, allocations: 10.55 kB / 0.539 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4228, allocations: 6.5 kB / 0.539 GB, free: 7.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.4229, allocations: 146.5 kB / 0.5391 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.4229, allocations: 192 / 0.5391 GB, free: 7.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.4232, allocations: 27.41 kB / 0.5392 GB, free: 7.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001023/0.4242, allocations: 417.5 kB / 0.5396 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.4245, allocations: 78.86 kB / 0.5396 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4245, allocations: 256 / 0.5396 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4246, allocations: 43.23 kB / 0.5397 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.425, allocations: 38.03 kB / 0.5397 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.4256, allocations: 293.7 kB / 0.54 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4259, allocations: 0.7156 MB / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.426, allocations: 20.91 kB / 0.5407 GB, free: 6.031 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.426, allocations: 0 / 0.5407 GB, free: 6.031 MB / 398.1 MB Notification: Performance of Templates: time 0.004862/0.4308, allocations: 2.219 MB / 0.5429 GB, free: 4.883 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches