Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, allocations: 118.8 kB / 17.78 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.00208/0.00208, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001705, allocations: 83.86 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4096, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003265/0.4129, allocations: 1.741 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.4147, allocations: 1.039 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.4148, allocations: 3.938 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.4152, allocations: 37.23 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.4155, allocations: 89.42 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.4158, allocations: 88.31 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.416, allocations: 106.7 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4161, allocations: 7.438 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4162, allocations: 53.19 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.4163, allocations: 45.52 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.4163, allocations: 5.5 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.4165, allocations: 112.4 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.4166, allocations: 21.38 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.4167, allocations: 36.03 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.417, allocations: 177.4 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.417, allocations: 3.984 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.417, allocations: 0 / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.417, allocations: 0 / 0.5345 GB, free: 10.95 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.0006008/0.4176, allocations: 429.8 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4177, allocations: 9.625 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.4177, allocations: 8.969 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.418, allocations: 215.8 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4181, allocations: 5.688 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.4181, allocations: 6.875 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4183, allocations: 73.12 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4183, allocations: 5.375 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.4183, allocations: 0 / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4183, allocations: 1.375 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.4184, allocations: 21.55 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.4188, allocations: 280.8 kB / 0.5356 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.419, allocations: 70.98 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.4191, allocations: 21.39 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.4191, allocations: 9.047 kB / 0.5357 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.4193, allocations: 66.92 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.4193, allocations: 0 / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006236/0.4199, allocations: 205.2 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.42, allocations: 82.2 kB / 0.536 GB, free: 9.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.4202, allocations: 161.6 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4202, allocations: 34.42 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.4203, allocations: 100.4 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.4203, allocations: 36.06 kB / 0.5363 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.4204, allocations: 26.86 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4205, allocations: 325.3 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.4206, allocations: 27.98 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.4207, allocations: 58.19 kB / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4208, allocations: 76.7 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4208, allocations: 0 / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002636/0.4211, allocations: 132.1 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4211, allocations: 4.656 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4212, allocations: 1.031 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4212, allocations: 5.188 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4213, allocations: 17.06 kB / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4213, allocations: 5.172 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.4214, allocations: 6.125 kB / 0.537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4214, allocations: 7.438 kB / 0.537 GB, free: 8.688 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 (13): * Single equations (assignments): 13 * 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.0001019/0.4215, allocations: 121.1 kB / 0.5371 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.4215, allocations: 8.625 kB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.4216, allocations: 21.33 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4216, allocations: 1.156 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4216, allocations: 8 kB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4216, allocations: 4.781 kB / 0.5371 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.4221, allocations: 422 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4221, allocations: 1.438 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.4222, allocations: 17.7 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4222, allocations: 1.094 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4222, allocations: 1.062 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4222, allocations: 1.062 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4222, allocations: 5.156 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4225, allocations: 223.3 kB / 0.5378 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.4226, allocations: 92.5 kB / 0.5379 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4226, allocations: 2.625 kB / 0.5379 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.4227, allocations: 6.344 kB / 0.5379 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.4228, allocations: 7.359 kB / 0.5379 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4228, allocations: 7.5 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4229, allocations: 128.5 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4229, allocations: 0 / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.4233, allocations: 52.64 kB / 0.5381 GB, free: 7.703 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 (10): * Single equations (assignments): 8 * 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.001381/0.4247, allocations: 0.5535 MB / 0.5386 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.4249, allocations: 77.17 kB / 0.5387 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4249, allocations: 0 / 0.5387 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.425, allocations: 38.77 kB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.4254, allocations: 34.23 kB / 0.5387 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.426, allocations: 222.3 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4263, allocations: 0.7003 MB / 0.5396 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.021e-05/0.4264, allocations: 30.48 kB / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.4265, allocations: 17.69 kB / 0.5397 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4265, allocations: 0 / 0.5397 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.006364/0.4329, allocations: 2.519 MB / 0.5421 GB, free: 5.137 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches