Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00239/0.00239, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4837, allocations: 62.45 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004733/0.4885, allocations: 1.723 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.4912, allocations: 1.017 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.4914, allocations: 5.156 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.4919, allocations: 43.08 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.4924, allocations: 94.7 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.4928, allocations: 79.7 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.4931, allocations: 104.8 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.4932, allocations: 10.94 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.4934, allocations: 44.23 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4935, allocations: 33.36 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.4935, allocations: 8.281 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.4937, allocations: 44.48 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.4938, allocations: 22.78 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.4939, allocations: 32 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.4942, allocations: 130.1 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4942, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4942, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.4943, allocations: 0 / 0.5344 GB, free: 11.03 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.0006952/0.495, allocations: 415 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.495, allocations: 9.625 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.4951, allocations: 10.34 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.4955, allocations: 217.2 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.4955, allocations: 5.75 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.4956, allocations: 9.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.4958, allocations: 50.05 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4958, allocations: 9.281 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4958, allocations: 0 / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4958, allocations: 1.375 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4959, allocations: 21.59 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.4965, allocations: 290.8 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4967, allocations: 61.92 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.4968, allocations: 18.48 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4968, allocations: 1.375 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.497, allocations: 73.06 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.497, allocations: 0 / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007039/0.4978, allocations: 165.9 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4978, allocations: 56.47 kB / 0.5357 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.4981, allocations: 200.1 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4982, allocations: 30.72 kB / 0.536 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.4982, allocations: 97.61 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.4983, allocations: 31.81 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.4984, allocations: 24.12 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4985, allocations: 330 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.4986, allocations: 22.83 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.4987, allocations: 35.95 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4989, allocations: 59.38 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4989, allocations: 192 / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002583/0.4991, allocations: 103.9 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4992, allocations: 13 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4992, allocations: 0.75 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4992, allocations: 5.094 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4994, allocations: 24.73 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.4994, allocations: 1.406 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.4994, allocations: 6.719 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4995, allocations: 2.5 kB / 0.5367 GB, free: 8.867 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 0.0001353/0.4996, allocations: 126.8 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.4996, allocations: 9.781 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.4997, allocations: 17.75 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4997, allocations: 1.469 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4998, allocations: 5.266 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4998, allocations: 3.938 kB / 0.5368 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.5004, allocations: 393.6 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5004, allocations: 1.156 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.5004, allocations: 7.688 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5004, allocations: 1.062 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.5005, allocations: 17.14 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5005, allocations: 5.031 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.5005, allocations: 1.125 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.5008, allocations: 192 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.5009, allocations: 88.36 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5009, allocations: 10.19 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.501, allocations: 9.172 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.5011, allocations: 4.406 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.5011, allocations: 3.562 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.5013, allocations: 147.8 kB / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5013, allocations: 0 / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.5016, allocations: 29.77 kB / 0.5377 GB, free: 7.91 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.001216/0.5028, allocations: 463.1 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.5031, allocations: 54.03 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5031, allocations: 1.094 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.5032, allocations: 33.42 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5035, allocations: 37.27 kB / 0.5383 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.5041, allocations: 231.4 kB / 0.5385 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.5045, allocations: 0.7014 MB / 0.5392 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.889e-05/0.5046, allocations: 22.39 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.5047, allocations: 19.22 kB / 0.5392 GB, free: 6.699 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5047, allocations: 1.25 kB / 0.5392 GB, free: 6.699 MB / 398.1 MB Notification: Performance of Templates: time 0.005714/0.5104, allocations: 1.756 MB / 0.5409 GB, free: 5.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches