Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001553, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 202 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 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.2444/0.2444, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 76.09 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4854, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003651/0.4891, allocations: 1.758 MB / 0.5328 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.491, allocations: 1.028 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4912, allocations: 1.406 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.4917, allocations: 90.47 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.4921, allocations: 120.1 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.4924, allocations: 83.5 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.4927, allocations: 115.9 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.4928, allocations: 15.39 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.4929, allocations: 59.7 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4931, allocations: 63.31 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.4931, allocations: 4.125 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4933, allocations: 67.78 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.4934, allocations: 32.03 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.4934, allocations: 37.38 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.4938, allocations: 142.8 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4938, allocations: 1.375 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.4938, allocations: 0 / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4938, allocations: 7.938 kB / 0.5346 GB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007709/0.4946, allocations: 446.2 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.4947, allocations: 9.625 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.4947, allocations: 14.34 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4951, allocations: 227.6 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4951, allocations: 3.125 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.4951, allocations: 6.875 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.4954, allocations: 64.78 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4954, allocations: 7.984 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4954, allocations: 0 / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4954, allocations: 1.375 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.4955, allocations: 20.36 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.4961, allocations: 305.7 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.4964, allocations: 60.95 kB / 0.5357 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.4965, allocations: 22.64 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.4966, allocations: 6.172 kB / 0.5357 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.4968, allocations: 69.77 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4968, allocations: 0 / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000969/0.4978, allocations: 252.1 kB / 0.5361 GB, free: 9.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.4978, allocations: 64.64 kB / 0.5361 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.4982, allocations: 235.9 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.4982, allocations: 27.86 kB / 0.5364 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4983, allocations: 118.3 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.4984, allocations: 28.31 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.4985, allocations: 30.64 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.4987, allocations: 323.4 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.4988, allocations: 30.55 kB / 0.5369 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.499, allocations: 51.55 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.4991, allocations: 80.48 kB / 0.537 GB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4991, allocations: 1.125 kB / 0.537 GB, free: 8.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002744/0.4994, allocations: 130.1 kB / 0.5371 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4995, allocations: 5.281 kB / 0.5371 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4995, allocations: 1.219 kB / 0.5371 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.4995, allocations: 0.9062 kB / 0.5371 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.4996, allocations: 25.64 kB / 0.5372 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4996, allocations: 5.219 kB / 0.5372 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.4997, allocations: 9.281 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4997, allocations: 7.188 kB / 0.5372 GB, free: 8.605 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.0001578/0.4999, allocations: 131.5 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.4999, allocations: 18.94 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.5, allocations: 24.23 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5, allocations: 1.188 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5, allocations: 7.938 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5, allocations: 1.188 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.5008, allocations: 450.8 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5008, allocations: 1.125 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.5008, allocations: 19.69 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5009, allocations: 1.281 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5009, allocations: 6.609 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5009, allocations: 1.312 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5009, allocations: 5.531 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.5012, allocations: 234.1 kB / 0.538 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.5013, allocations: 88.89 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.5014, allocations: 9.328 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.5014, allocations: 3.594 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.5015, allocations: 12.08 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.5015, allocations: 12.11 kB / 0.5382 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.5018, allocations: 169.9 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5018, allocations: 0 / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.5021, allocations: 32.45 kB / 0.5384 GB, free: 7.562 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00162/0.5037, allocations: 0.4948 MB / 0.5388 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.504, allocations: 80.94 kB / 0.5389 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.504, allocations: 1.156 kB / 0.5389 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.5041, allocations: 39.58 kB / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.5045, allocations: 43.77 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.5052, allocations: 289.8 kB / 0.5393 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5056, allocations: 0.7202 MB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.5057, allocations: 19.44 kB / 0.54 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.5058, allocations: 17.47 kB / 0.54 GB, free: 6.277 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5058, allocations: 0 / 0.54 GB, free: 6.277 MB / 398.1 MB Notification: Performance of Templates: time 0.005788/0.5116, allocations: 2.021 MB / 0.542 GB, free: 5.258 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches