Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 204.8 kB / 19.41 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.406/1.406, allocations: 227.4 MB / 247.6 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.228/0.228, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 79.88 kB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3851, allocations: 62.44 MB / 0.5318 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003321/0.3885, allocations: 1.922 MB / 0.5336 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3904, allocations: 1.112 MB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.3905, allocations: 1.375 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.3909, allocations: 168.3 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.3914, allocations: 177.2 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3916, allocations: 119.1 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.3919, allocations: 247.6 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3921, allocations: 28.08 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3922, allocations: 111 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3924, allocations: 139.2 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3925, allocations: 8.688 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3926, allocations: 58.77 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.3927, allocations: 54.67 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.3928, allocations: 89.28 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.3931, allocations: 228.4 kB / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3931, allocations: 4 kB / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3932, allocations: 3.984 kB / 0.5361 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3932, allocations: 0 / 0.5361 GB, free: 10.22 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.0007712/0.3939, allocations: 0.5299 MB / 0.5366 GB, free: 9.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.394, allocations: 9.125 kB / 0.5366 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.3941, allocations: 32.58 kB / 0.5367 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.3944, allocations: 275.5 kB / 0.5369 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3945, allocations: 12.11 kB / 0.5369 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3945, allocations: 13.5 kB / 0.5369 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.3948, allocations: 112.9 kB / 0.537 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3948, allocations: 1.125 kB / 0.537 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3948, allocations: 5.062 kB / 0.5371 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3948, allocations: 2.219 kB / 0.5371 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.395, allocations: 40.41 kB / 0.5371 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.3955, allocations: 469.9 kB / 0.5375 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.3959, allocations: 127.3 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.396, allocations: 44.67 kB / 0.5377 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3961, allocations: 6.531 kB / 0.5377 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.3963, allocations: 120.8 kB / 0.5378 GB, free: 8.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3963, allocations: 0 / 0.5378 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001322/0.3977, allocations: 0.4911 MB / 0.5383 GB, free: 8.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3977, allocations: 80.8 kB / 0.5384 GB, free: 8.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.3981, allocations: 368.7 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.3982, allocations: 31.77 kB / 0.5388 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.3983, allocations: 149.6 kB / 0.5389 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.3983, allocations: 68.42 kB / 0.539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.3984, allocations: 45.67 kB / 0.539 GB, free: 7.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3986, allocations: 343.4 kB / 0.5393 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3987, allocations: 57.78 kB / 0.5394 GB, free: 7.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3989, allocations: 95.28 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.3992, allocations: 156.9 kB / 0.5396 GB, free: 7.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3992, allocations: 5.312 kB / 0.5396 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000391/0.3996, allocations: 232.4 kB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3996, allocations: 17.66 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3996, allocations: 1.719 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3996, allocations: 1.375 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3998, allocations: 42.41 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3998, allocations: 5.594 kB / 0.5399 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.3999, allocations: 8.438 kB / 0.5399 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3999, allocations: 10.81 kB / 0.54 GB, free: 7.07 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.0001607/0.4001, allocations: 159.2 kB / 0.5401 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.4001, allocations: 32.97 kB / 0.5401 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.4002, allocations: 35.52 kB / 0.5402 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4002, allocations: 6.703 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4002, allocations: 1.125 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4003, allocations: 4.859 kB / 0.5402 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.4012, allocations: 0.7254 MB / 0.5409 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4012, allocations: 1.969 kB / 0.5409 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.4013, allocations: 30.77 kB / 0.5409 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4013, allocations: 2.656 kB / 0.5409 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4013, allocations: 8.594 kB / 0.5409 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4013, allocations: 2.453 kB / 0.5409 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4013, allocations: 6.438 kB / 0.5409 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.4018, allocations: 421.4 kB / 0.5413 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.4019, allocations: 99.98 kB / 0.5414 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.402, allocations: 11.83 kB / 0.5414 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4021, allocations: 9.312 kB / 0.5415 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.4022, allocations: 16.33 kB / 0.5415 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.4022, allocations: 16.98 kB / 0.5415 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.4025, allocations: 276 kB / 0.5418 GB, free: 5.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4025, allocations: 0 / 0.5418 GB, free: 5.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.4029, allocations: 55.05 kB / 0.5418 GB, free: 5.598 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.001243/0.4042, allocations: 0.5095 MB / 0.5423 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.4046, allocations: 155.2 kB / 0.5425 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4046, allocations: 0 / 0.5425 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.4047, allocations: 82.47 kB / 0.5425 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.4053, allocations: 69.27 kB / 0.5426 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008832/0.4062, allocations: 0.5302 MB / 0.5431 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4066, allocations: 0.7669 MB / 0.5439 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.4067, allocations: 27.28 kB / 0.5439 GB, free: 4.066 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4067, allocations: 0 / 0.5439 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Templates: time 0.006156/0.4129, allocations: 3.613 MB / 0.5474 GB, free: 1.238 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches