Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 75.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4027, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003389/0.4062, allocations: 1.736 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.4078, allocations: 1.019 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.4079, allocations: 0 / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.4082, allocations: 41.39 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.4085, allocations: 91.05 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.4088, allocations: 82.91 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.4089, allocations: 100.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4091, allocations: 14.88 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.4092, allocations: 44.28 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.4093, allocations: 34.78 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.4093, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4094, allocations: 39.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.4095, allocations: 25.34 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.4095, allocations: 28.06 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.4098, allocations: 119.4 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4098, allocations: 4 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4098, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4098, allocations: 0 / 0.5344 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006087/0.4104, allocations: 405.7 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4105, allocations: 9.625 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.4105, allocations: 8.969 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.4108, allocations: 211.2 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4108, allocations: 1.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.4108, allocations: 6.875 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.411, allocations: 58.05 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.411, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.411, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.411, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.4111, allocations: 22.73 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.4115, allocations: 288.9 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.4116, allocations: 65.19 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.4117, allocations: 21.78 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4117, allocations: 1.062 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.4119, allocations: 66.08 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4119, allocations: 0 / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.4124, allocations: 180.9 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.4125, allocations: 56.44 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4127, allocations: 169 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4127, allocations: 26.77 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.4128, allocations: 100.8 kB / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4128, allocations: 22.94 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.4129, allocations: 25.61 kB / 0.536 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.413, allocations: 329 kB / 0.5364 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.4131, allocations: 19.22 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.4131, allocations: 35.86 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4133, allocations: 67.47 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4133, allocations: 3.938 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.4135, allocations: 94.84 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4135, allocations: 5.656 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4135, allocations: 4.031 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4135, allocations: 5.141 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.4136, allocations: 12.84 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4136, allocations: 5.312 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.4137, allocations: 10.28 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4137, allocations: 2.25 kB / 0.5366 GB, free: 8.906 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/0.4138, allocations: 126 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.4138, allocations: 12.22 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.4139, allocations: 21.3 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4139, allocations: 5.125 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4139, allocations: 0 / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4139, allocations: 5.156 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.4144, allocations: 388 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4144, allocations: 1.406 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.4144, allocations: 6.375 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4144, allocations: 1.031 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4145, allocations: 14.3 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4145, allocations: 5.125 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4145, allocations: 0 / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.4147, allocations: 196.2 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4148, allocations: 88.67 kB / 0.5374 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4148, allocations: 5.25 kB / 0.5374 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.4149, allocations: 2.312 kB / 0.5374 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.415, allocations: 11.83 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.415, allocations: 2.5 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.4151, allocations: 133.7 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4151, allocations: 0 / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4154, allocations: 24.67 kB / 0.5376 GB, free: 7.965 MB / 398.1 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 (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.001105/0.4165, allocations: 466.2 kB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.4167, allocations: 58.38 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4167, allocations: 3.938 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.4168, allocations: 34.36 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4172, allocations: 27.75 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.4176, allocations: 204.7 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4179, allocations: 0.6996 MB / 0.5391 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.4179, allocations: 19.05 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.418, allocations: 19.25 kB / 0.5391 GB, free: 6.766 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.418, allocations: 0 / 0.5391 GB, free: 6.766 MB / 398.1 MB Notification: Performance of Templates: time 0.00494/0.4229, allocations: 1.723 MB / 0.5408 GB, free: 5.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches