Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009688/0.0009687, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 207.9 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, 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.1893/0.1893, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 83.81 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2815, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003167/0.2847, allocations: 1.722 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2872, allocations: 1.621 MB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2874, allocations: 1.156 kB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.2877, allocations: 44.61 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.2881, allocations: 103.9 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2884, allocations: 78.97 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.2887, allocations: 99.23 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2888, allocations: 14.7 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2889, allocations: 48.83 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2891, allocations: 39.23 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2891, allocations: 4.531 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.2894, allocations: 115.1 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.2894, allocations: 24.16 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.2895, allocations: 40.09 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.2898, allocations: 170.6 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2898, allocations: 1.375 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2899, allocations: 0 / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2899, allocations: 0 / 0.5351 GB, free: 10.48 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.0006151/0.2905, allocations: 428.4 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2905, allocations: 9.625 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.2906, allocations: 8.969 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.2909, allocations: 215.8 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.291, allocations: 13.3 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.291, allocations: 2.75 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2912, allocations: 70.45 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2912, allocations: 0 / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2912, allocations: 5.375 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.2912, allocations: 0 / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.2913, allocations: 19.08 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2917, allocations: 285.3 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2919, allocations: 61.58 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.2919, allocations: 22.34 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2919, allocations: 0 / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.2921, allocations: 70.05 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2921, allocations: 0 / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005711/0.2927, allocations: 169.2 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.2928, allocations: 86.11 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2929, allocations: 165 kB / 0.5367 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.293, allocations: 26.83 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.2931, allocations: 100.3 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.2931, allocations: 31.97 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.2931, allocations: 20.09 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2932, allocations: 326 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.2933, allocations: 23.05 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.2934, allocations: 41.31 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2935, allocations: 63.17 kB / 0.5373 GB, free: 8.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2935, allocations: 0 / 0.5373 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.2937, allocations: 99.72 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2937, allocations: 5.281 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2937, allocations: 0 / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2938, allocations: 1.625 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.2939, allocations: 16.48 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2939, allocations: 9.406 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.2939, allocations: 2.562 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.2939, allocations: 6.906 kB / 0.5374 GB, free: 8.273 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.105e-05/0.294, allocations: 124.3 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.2941, allocations: 17.12 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.2941, allocations: 12.59 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2941, allocations: 1.25 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2941, allocations: 7.938 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2941, allocations: 1.344 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.2946, allocations: 391.6 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2946, allocations: 9.109 kB / 0.5379 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.2946, allocations: 11.41 kB / 0.5379 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2946, allocations: 1.094 kB / 0.5379 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2946, allocations: 5.125 kB / 0.5379 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2947, allocations: 1.125 kB / 0.5379 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2947, allocations: 1.25 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.2949, allocations: 199.4 kB / 0.5381 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2949, allocations: 99.81 kB / 0.5382 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.295, allocations: 2.125 kB / 0.5382 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.2951, allocations: 5.734 kB / 0.5382 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2951, allocations: 11.8 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2951, allocations: 4.094 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2952, allocations: 127.2 kB / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2952, allocations: 0 / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.2955, allocations: 46.08 kB / 0.5384 GB, free: 7.312 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.001169/0.2967, allocations: 0.547 MB / 0.539 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2969, allocations: 54.52 kB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2969, allocations: 0 / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.297, allocations: 34.3 kB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2973, allocations: 40.56 kB / 0.5391 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.2977, allocations: 191 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2979, allocations: 0.699 MB / 0.5399 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.694e-05/0.298, allocations: 23.55 kB / 0.54 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.2981, allocations: 24.67 kB / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2981, allocations: 0 / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.004983/0.3031, allocations: 2.36 MB / 0.5423 GB, free: 4.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches