Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001982/0.001982, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 76.09 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3741, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003446/0.3776, allocations: 1.928 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3797, allocations: 1.121 MB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.3799, allocations: 1.375 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.3805, allocations: 255 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.381, allocations: 235.2 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.3814, allocations: 119.8 kB / 0.5353 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.3818, allocations: 272 kB / 0.5356 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.382, allocations: 32.92 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3822, allocations: 132.6 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.3825, allocations: 199.5 kB / 0.5359 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.3825, allocations: 9 kB / 0.5359 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3827, allocations: 58.98 kB / 0.536 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3828, allocations: 60.14 kB / 0.536 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3829, allocations: 105.1 kB / 0.5361 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.3833, allocations: 251.4 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3833, allocations: 0 / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3833, allocations: 0 / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3833, allocations: 0 / 0.5364 GB, free: 10.25 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.0008616/0.3842, allocations: 0.5834 MB / 0.537 GB, free: 9.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3843, allocations: 9.562 kB / 0.537 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.3843, allocations: 34.97 kB / 0.537 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3848, allocations: 295.4 kB / 0.5373 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3848, allocations: 4.031 kB / 0.5373 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.3849, allocations: 13.47 kB / 0.5373 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.3851, allocations: 111.5 kB / 0.5374 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3852, allocations: 7.906 kB / 0.5374 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3852, allocations: 5.266 kB / 0.5374 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3852, allocations: 2.875 kB / 0.5374 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3854, allocations: 47.38 kB / 0.5375 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.386, allocations: 487 kB / 0.5379 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.3865, allocations: 125.5 kB / 0.538 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3866, allocations: 49.41 kB / 0.5381 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3866, allocations: 2.312 kB / 0.5381 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.3869, allocations: 119.7 kB / 0.5382 GB, free: 8.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.3869, allocations: 0 / 0.5382 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001518/0.3884, allocations: 0.5096 MB / 0.5387 GB, free: 8.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3885, allocations: 83.17 kB / 0.5388 GB, free: 8.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.3892, allocations: 0.4896 MB / 0.5393 GB, free: 7.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3892, allocations: 32.64 kB / 0.5393 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3893, allocations: 168.5 kB / 0.5395 GB, free: 7.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.918e-05/0.3894, allocations: 73.22 kB / 0.5395 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.3895, allocations: 42.23 kB / 0.5396 GB, free: 7.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3897, allocations: 349.2 kB / 0.5399 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3898, allocations: 53.73 kB / 0.5399 GB, free: 7.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.39, allocations: 103 kB / 0.54 GB, free: 7.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3903, allocations: 152.8 kB / 0.5402 GB, free: 7.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3903, allocations: 1.156 kB / 0.5402 GB, free: 7.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004505/0.3907, allocations: 243 kB / 0.5404 GB, free: 6.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3908, allocations: 9.406 kB / 0.5404 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3908, allocations: 1.031 kB / 0.5404 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3908, allocations: 2.125 kB / 0.5404 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.391, allocations: 42.58 kB / 0.5405 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.391, allocations: 6.219 kB / 0.5405 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.998e-05/0.3911, allocations: 12.05 kB / 0.5405 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3911, allocations: 11.19 kB / 0.5405 GB, free: 6.938 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.0001928/0.3913, allocations: 172.5 kB / 0.5407 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.3914, allocations: 36.09 kB / 0.5407 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.3915, allocations: 49.88 kB / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3915, allocations: 3.062 kB / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3915, allocations: 0 / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3915, allocations: 1.312 kB / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3925, allocations: 0.7428 MB / 0.5415 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3926, allocations: 1.031 kB / 0.5415 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.3927, allocations: 35.8 kB / 0.5415 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3927, allocations: 2.219 kB / 0.5415 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3927, allocations: 8.328 kB / 0.5415 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3927, allocations: 3.25 kB / 0.5415 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3927, allocations: 1.094 kB / 0.5415 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.3933, allocations: 427.7 kB / 0.5419 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.3934, allocations: 110.4 kB / 0.542 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.3935, allocations: 11.38 kB / 0.5421 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3936, allocations: 4.5 kB / 0.5421 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.3937, allocations: 29.62 kB / 0.5421 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3937, allocations: 8.5 kB / 0.5421 GB, free: 5.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004471/0.3942, allocations: 373 kB / 0.5425 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3942, allocations: 0 / 0.5425 GB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.3946, allocations: 53.73 kB / 0.5425 GB, free: 5.402 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.00138/0.396, allocations: 0.5062 MB / 0.543 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.3964, allocations: 163 kB / 0.5432 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3964, allocations: 1.188 kB / 0.5432 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3966, allocations: 78.56 kB / 0.5432 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.3972, allocations: 66.31 kB / 0.5433 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3985, allocations: 0.6345 MB / 0.5439 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.399, allocations: 0.783 MB / 0.5447 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.3991, allocations: 35.05 kB / 0.5447 GB, free: 3.816 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3991, allocations: 0 / 0.5447 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Templates: time 0.008325/0.4074, allocations: 3.883 MB / 0.5485 GB, free: 300 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches