Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 79.86 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3962, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004057/0.4003, allocations: 1.688 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.4023, allocations: 1.006 MB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.4024, allocations: 1.375 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.4028, allocations: 87.42 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.4032, allocations: 115.4 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.4034, allocations: 69.56 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.4036, allocations: 109 kB / 0.5341 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.4037, allocations: 13.66 kB / 0.5341 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.4038, allocations: 49.12 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.4039, allocations: 50.2 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4039, allocations: 3.594 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.4041, allocations: 41.48 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.4041, allocations: 23.28 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.4042, allocations: 35.06 kB / 0.5343 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.4044, allocations: 111.3 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4044, allocations: 1.062 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4045, allocations: 0 / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.4045, allocations: 4 kB / 0.5344 GB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006679/0.4051, allocations: 412.1 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4052, allocations: 9.094 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.4053, allocations: 14.66 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.4056, allocations: 220 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4056, allocations: 1.406 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.4056, allocations: 6.406 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4058, allocations: 54.73 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4058, allocations: 0 / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4058, allocations: 5.016 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4059, allocations: 5.125 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.406, allocations: 16.02 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.4063, allocations: 184.5 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4065, allocations: 54.48 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.4065, allocations: 24.95 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.4066, allocations: 5.109 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.4068, allocations: 68.3 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/0.4068, allocations: 0 / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003607/0.4072, allocations: 95.98 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4072, allocations: 52.72 kB / 0.5356 GB, free: 9.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.4075, allocations: 225.7 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4076, allocations: 26.83 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.4076, allocations: 105.9 kB / 0.5359 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.4077, allocations: 18.59 kB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.4077, allocations: 17.69 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.408, allocations: 322.8 kB / 0.5362 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.408, allocations: 16.7 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.4081, allocations: 35.23 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4082, allocations: 43.53 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4082, allocations: 0 / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001769/0.4084, allocations: 84.3 kB / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4084, allocations: 5.312 kB / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4084, allocations: 0 / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4085, allocations: 1.156 kB / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.4086, allocations: 13.25 kB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4086, allocations: 5.406 kB / 0.5364 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.4086, allocations: 5.094 kB / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.4087, allocations: 2.312 kB / 0.5364 GB, free: 9.102 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 (7): * Single equations (assignments): 7 * 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.000125/0.4088, allocations: 136.8 kB / 0.5366 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.4088, allocations: 9.312 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.4089, allocations: 18.3 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4089, allocations: 1.656 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4089, allocations: 0 / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4089, allocations: 1.156 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.409, allocations: 203.1 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4091, allocations: 0 / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4091, allocations: 3.656 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4091, allocations: 0 / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4091, allocations: 1.312 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.4091, allocations: 1.281 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4091, allocations: 0 / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.4093, allocations: 117.6 kB / 0.5369 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.4094, allocations: 87.92 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.4094, allocations: 5.484 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.4094, allocations: 1.562 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.4095, allocations: 3.094 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4095, allocations: 5.562 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.4096, allocations: 164.2 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4096, allocations: 3.938 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.4099, allocations: 17.97 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001026/0.4109, allocations: 415.8 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.4111, allocations: 44.55 kB / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4111, allocations: 0 / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.4112, allocations: 19.89 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4115, allocations: 32.23 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.412, allocations: 222.1 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4124, allocations: 0.71 MB / 0.5386 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.4124, allocations: 12.27 kB / 0.5386 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.4125, allocations: 13.62 kB / 0.5386 GB, free: 7.223 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4125, allocations: 3.938 kB / 0.5386 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Templates: time 0.005093/0.4176, allocations: 1.54 MB / 0.5401 GB, free: 6.43 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches